|
|
@ -46,6 +46,8 @@ class SettingsDialog(QtWidgets.QDialog): |
|
|
|
|
|
|
|
self.success = False |
|
|
|
|
|
|
|
logger.info("Init settings dialog") |
|
|
|
|
|
|
|
settings = QtCore.QSettings("LaborejoSoftwareSuite", METADATA["shortName"]) |
|
|
|
if settings.contains("launcherBlacklistPlainTextEdit"): |
|
|
|
self.ui.launcherBlacklistPlainTextEdit.setPlainText(settings.value("launcherBlacklistPlainTextEdit", type=str)) |
|
|
@ -70,6 +72,7 @@ class SettingsDialog(QtWidgets.QDialog): |
|
|
|
self.setWindowFlag(QtCore.Qt.Popup, True) |
|
|
|
self.setModal(True) |
|
|
|
self.setFocus(True) |
|
|
|
logger.info("Show settings dialog") |
|
|
|
self.exec_() |
|
|
|
|
|
|
|
@staticmethod |
|
|
|