fixed placing of app chooser dialog

This commit is contained in:
Martin Wagner 2020-12-31 14:54:13 +01:00
parent 838e421466
commit 72588b5b66

View File

@ -1493,7 +1493,7 @@ class SongPopover(Gtk.Popover):
def _on_open_button_clicked(self, *args):
self.popdown()
dialog=Gtk.AppChooserDialog(gfile=self._gfile)
dialog=Gtk.AppChooserDialog(gfile=self._gfile, transient_for=self.get_toplevel())
app_chooser=dialog.get_widget()
response=dialog.run()
if response == Gtk.ResponseType.OK: