fix: presets is transient for window

This commit is contained in:
0xMRTT 2022-09-03 17:09:58 +02:00
parent a562f8d4ba
commit 32c853aa51
No known key found for this signature in database
GPG key ID: AC9E06BF3DECB6FB

View file

@ -316,4 +316,5 @@ class GradienceMainWindow(Adw.ApplicationWindow):
@Gtk.Template.Callback()
def on_presets_button_clicked(self, *args):
presets = GradiencePresetWindow(self.get_application())
self.set_transient_for(presets)
presets.present()