Fix odd intermittent problem with HUD not opening.
This commit is contained in:
parent
a8f12db7f7
commit
e30989a852
1
pyfpdb/HUD_main.pyw
Executable file → Normal file
1
pyfpdb/HUD_main.pyw
Executable file → Normal file
|
@ -184,6 +184,7 @@ class HUD_main(object):
|
|||
self.vb.add(newlabel)
|
||||
newlabel.show()
|
||||
self.main_window.resize_children()
|
||||
table.gdkhandle = gtk.gdk.window_foreign_new(table.number)
|
||||
|
||||
self.hud_dict[table.key].tablehudlabel = newlabel
|
||||
self.hud_dict[table.key].create(new_hand_id, self.config, stat_dict, cards)
|
||||
|
|
|
@ -138,7 +138,7 @@ class Table_Window(object):
|
|||
self.search_string = getTableTitleRe(self.config, self.site, self.type, **table_kwargs)
|
||||
self.find_table_parameters()
|
||||
|
||||
self.gdkhandle = gtk.gdk.window_foreign_new(self.number)
|
||||
# self.gdkhandle = gtk.gdk.window_foreign_new(self.number)
|
||||
geo = self.get_geometry()
|
||||
if geo is None: return None
|
||||
self.width = geo['width']
|
||||
|
|
Loading…
Reference in New Issue
Block a user