Commits

Steve Borho committed 9dd1961

sync: url tree clicks should clear selections in the other tree

it's confusing to allow urls to be selected in both trees when only
the most recent selection has any effect.

Comments (0)

Files changed (1)

tortoisehg/hgqt/sync.py

         self.reltv = PathsTree(self, False)
         self.reltv.clicked.connect(self.pathSelected)
         self.reltv.menuRequest.connect(self.menuRequest)
+        self.reltv.clicked.connect(self.hgrctv.clearSelection)
+        self.hgrctv.clicked.connect(self.reltv.clearSelection)
         pathsframe = QFrame()
         pathsframe.setFrameStyle(QFrame.StyledPanel|QFrame.Raised)
         pathsbox = QVBoxLayout()