From 139e7cbb380503a6b243af0bdd41da5e4a620f23 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 21 Mar 2024 01:04:33 +1300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d7418e5..1a14b9f 100644 --- a/README.md +++ b/README.md @@ -468,7 +468,7 @@ from gi.repository import Gtk, Adw, Gio, GLib # Add GLib to imports def show_about(self, action, param): self.about = Gtk.AboutDialog() self.about.set_transient_for(self) # Makes the dialog always appear in from of the parent window - self.about.set_modal(self) # Makes the parent window unresponsive while dialog is showing + self.about.set_modal(True) # Makes the parent window unresponsive while dialog is showing self.about.set_authors(["Your Name"]) self.about.set_copyright("Copyright 2022 Your Full Name")