1. TortoiseHg
  2. TortoiseHg
  3. thg


Angel Ezquerra  committed 1bcb73c

reporegistry: avoid duplicates when drag and dropping

Without this fix, dragging a repo registry entry would copy rather than move
the dragged entry.

  • Participants
  • Parent commits 66aa04a
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/reporegistry.py

View file
     def dropAccepted(self):
         # Whenever a drag and drop operation is completed, update the settings
         # file
-        self.updateSettingsFile()
+        QTimer.singleShot(0, self.updateSettingsFile)
     def modifiedSettings(self):