fix bug in saving layouts

This commit is contained in:
Ray
2008-10-04 15:43:50 -05:00
parent 31d40a6274
commit 3b618723d2
3 changed files with 34 additions and 15 deletions
Executable → Regular
+2 -2
View File
@@ -105,8 +105,8 @@ class Hud:
loc = self.stat_windows[sw].window.get_position()
new_loc = (loc[0] - self.table.x, loc[1] - self.table.y)
new_layout.append(new_loc)
print new_layout
self.config.edit_layout(self.table.site, self.table.max, locations = new_layout)
# print new_layout
self.config.edit_layout(self.table.site, self.max, locations = new_layout)
self.config.save()
def create(self, hand, config):