Skip to content

Commit

Permalink
Fix dialogue error
Browse files Browse the repository at this point in the history
  • Loading branch information
Wemmy0 committed Feb 23, 2024
1 parent 10a5c68 commit b6970b5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Export.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,5 @@ def finalise(data: list, path: str, err: int):
dialogue = Gtk.MessageDialog(text="Unable to export file",
message_type=Gtk.MessageType.INFO,
buttons=Gtk.ButtonsType.OK)
finally:
dialogue.connect("response", lambda dialog, *args: dialog.destroy())
dialogue.present()
dialogue.connect("response", lambda dialog, *args: dialog.destroy())
dialogue.present()

0 comments on commit b6970b5

Please sign in to comment.