diff --git a/gns3/dialogs/preferences_dialog.py b/gns3/dialogs/preferences_dialog.py index b54cd335d..14b218bbc 100644 --- a/gns3/dialogs/preferences_dialog.py +++ b/gns3/dialogs/preferences_dialog.py @@ -128,7 +128,7 @@ def _watchForChanges(self, preferences_page): # Class name, changed signal widget_to_watch = { - #QtWidgets.QLineEdit: "textChanged", + QtWidgets.QLineEdit: "textChanged", QtWidgets.QPlainTextEdit: "textChanged", # QtWidgets.QTreeWidget: "itemChanged", QtWidgets.QComboBox: "currentIndexChanged", diff --git a/gns3/modules/iou/pages/iou_preferences_page.py b/gns3/modules/iou/pages/iou_preferences_page.py index 148e88a93..240f66404 100644 --- a/gns3/modules/iou/pages/iou_preferences_page.py +++ b/gns3/modules/iou/pages/iou_preferences_page.py @@ -99,7 +99,9 @@ def _populateWidgets(self, settings): """ if settings["iourc_content"]: + self.IOULicenceTextEdit.blockSignals(True) self.IOULicenceTextEdit.setPlainText(settings["iourc_content"]) + self.IOULicenceTextEdit.blockSignals(False) self.uiLicensecheckBox.setChecked(settings["license_check"]) def loadPreferences(self):