Commits

Yuya Nishihara committed 4caebca

manifest: don't test file status of directory node on doubleclick (fixes #1408)

Comments (0)

Files changed (1)

tortoisehg/hgqt/manifestdialog.py

         itemissubrepo = (self._treemodel.fileStatus(index) == 'S')
         if itemissubrepo:
             self.opensubrepo()
-        else:
+        elif not self._treemodel.isDir(index):
             if self._treemodel.fileStatus(index) in 'C?':
                 self.editfile()
             else: