Skip to content

Commit

Permalink
Fix "Unable to change Remote Main Server IP". Fixes #2823
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Aug 2, 2019
1 parent fed245f commit 76832ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gns3/dialogs/preferences_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions gns3/modules/iou/pages/iou_preferences_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 76832ab

Please sign in to comment.