ocarina: Selectively create settings window
We should only do this if the window doesn't already exist.
This commit is contained in:
parent
93dcfe5f8e
commit
471db697e9
|
@ -7,6 +7,7 @@ window = None
|
|||
|
||||
def configure():
|
||||
global window
|
||||
window = gtk.Window()
|
||||
window.set_title("Settings")
|
||||
if window == None:
|
||||
window = gtk.Window()
|
||||
window.set_title("Settings")
|
||||
window.show()
|
||||
|
|
Loading…
Reference in New Issue
Block a user