check_table_no deals with "None" passed to it
This commit is contained in:
parent
df1cd4a15d
commit
c325daf7f6
|
@ -251,6 +251,7 @@ class Table_Window(object):
|
||||||
result = self.get_table_no()
|
result = self.get_table_no()
|
||||||
if result != False and result != self.table:
|
if result != False and result != self.table:
|
||||||
self.table = result
|
self.table = result
|
||||||
|
if hud is not None:
|
||||||
hud.main_window.emit("table_changed", hud)
|
hud.main_window.emit("table_changed", hud)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user