default filename

This commit is contained in:
j 2019-01-23 14:07:02 +05:30
parent b2368b9053
commit 8fa6c3e196

View file

@ -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()