Browse Source

Mild logging for settings.py

master
Nils 4 years ago
parent
commit
06ee369fff
  1. 3
      qtgui/settings.py

3
qtgui/settings.py

@ -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

Loading…
Cancel
Save