Skip to content
Snippets Groups Projects
Commit e74ad413 authored by Simon Kindhauser's avatar Simon Kindhauser
Browse files

make root a computed property

parent 1cb0578b
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ class FileView(Adw.PreferencesGroup):
dialog = Gtk.FileChooserNative(
title='Choose file to open',
transient_for=self.get_root(),
transient_for=self.root,
action=Gtk.FileChooserAction.OPEN,
)
......
......@@ -64,7 +64,7 @@ class ImageView(Adw.PreferencesGroup):
dialog = Gtk.FileChooserNative(
title='Choose file to open',
transient_for=self.get_root(),
transient_for=self.root,
action=Gtk.FileChooserAction.OPEN,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment