Add override api support.

More apis are added in this version.
This commit is contained in:
wei committed 2026-10-30 23:24:28 +08:00
1 parent f029ba425b
commit e3e406a5bc
18 files changed
+451 -14

No files matched your search

+3 -4
View File
@@ -211,10 +211,9 @@ class SettingsPage(QWidget):
def _open_plugins_dialog(self):
dialog = PluginsDialog(self.app, self.app.plugin_manager, self)
try:
dialog.exec()
finally:
dialog.deleteLater()
dialog.setWindowFlags(Qt.Window)
dialog.setAttribute(Qt.WidgetAttribute.WA_DeleteOnClose, True)
dialog.show()
def _create_general_page(self) -> QWidget:
tr = self.app.tr_text