commit
828cb1ac08
@ -167,7 +167,7 @@ class DbLoader(CLIDbLoader):
|
|||||||
import_dialog.set_current_folder(default_dir)
|
import_dialog.set_current_folder(default_dir)
|
||||||
while True:
|
while True:
|
||||||
response = import_dialog.run()
|
response = import_dialog.run()
|
||||||
if response == Gtk.ResponseType.CANCEL:
|
if response in (Gtk.ResponseType.CANCEL, Gtk.ResponseType.DELETE_EVENT):
|
||||||
break
|
break
|
||||||
elif response == Gtk.ResponseType.OK:
|
elif response == Gtk.ResponseType.OK:
|
||||||
filename = import_dialog.get_filename()
|
filename = import_dialog.get_filename()
|
||||||
|
Loading…
Reference in New Issue
Block a user