Commits

Elson Wei committed 5cb7411

settings: performing refresh no matter if the setting file is modified

The settings should be refreshed no matter if that aren't modified.
Otherwise, the second dirty-check will be fault.

  • Participants
  • Parent commits 232f66a
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/settings.py

                 self.applyChanges()
             elif ret == 2:
                 return
-        if (qscilib.fileEditor(hglib.tounicode(self.fn), foldable=True)
-            == QDialog.Accepted):
-            self.refresh()
+        qscilib.fileEditor(hglib.tounicode(self.fn), foldable=True)
+        self.refresh()
 
     def refresh(self, *args):
         # refresh config values