fix: active window

This commit is contained in:
0xMRTT 2022-09-15 22:37:17 +02:00
parent ee964a67f3
commit 78ede88f10
No known key found for this signature in database
GPG key ID: AC9E06BF3DECB6FB

View file

@ -94,7 +94,7 @@ class GradiencePresetRow(Adw.ExpanderRow):
def on_report_btn_clicked(self, *_args):
buglog("report")
parent = XdpGtk4.parent_new_gtk(self.props.active_window)
parent = XdpGtk4.parent_new_gtk(self.win)
def open_dir_callback(_, result):
self.app.portal.open_uri_finish(result)