default filename
This commit is contained in:
parent
b2368b9053
commit
8fa6c3e196
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,8 @@ class GtkUI:
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
print('Closed, no files selected')
|
print('Closed, no files selected')
|
||||||
filename = None
|
filename = None
|
||||||
|
else:
|
||||||
|
filename = None
|
||||||
dialog.destroy()
|
dialog.destroy()
|
||||||
while Gtk.events_pending():
|
while Gtk.events_pending():
|
||||||
Gtk.main_iteration()
|
Gtk.main_iteration()
|
||||||
|
@ -61,6 +63,8 @@ class GtkUI:
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
print('Closed, no files selected')
|
print('Closed, no files selected')
|
||||||
filename = None
|
filename = None
|
||||||
|
else:
|
||||||
|
filename = None
|
||||||
dialog.destroy()
|
dialog.destroy()
|
||||||
while Gtk.events_pending():
|
while Gtk.events_pending():
|
||||||
Gtk.main_iteration()
|
Gtk.main_iteration()
|
||||||
|
|
Loading…
Reference in a new issue