HUD: add error handler for error reported by phenixrising
This commit is contained in:
parent
b3691add7b
commit
48e0cbe8cd
|
@ -525,7 +525,10 @@ class Hud:
|
||||||
def debug_stat_windows(self, *args):
|
def debug_stat_windows(self, *args):
|
||||||
# print self.table, "\n", self.main_window.window.get_transient_for()
|
# print self.table, "\n", self.main_window.window.get_transient_for()
|
||||||
for w in self.stat_windows:
|
for w in self.stat_windows:
|
||||||
|
try:
|
||||||
print self.stat_windows[w].window.window.get_transient_for()
|
print self.stat_windows[w].window.window.get_transient_for()
|
||||||
|
except AttributeError:
|
||||||
|
print "this window doesnt have get_transient_for"
|
||||||
|
|
||||||
def save_layout(self, *args):
|
def save_layout(self, *args):
|
||||||
new_layout = [(0, 0)] * self.max
|
new_layout = [(0, 0)] * self.max
|
||||||
|
|
Loading…
Reference in New Issue
Block a user