Changeset 251abb0d0ed6…
Parent 4a17b61ddfbd…
by
Changes to one file · Browse files at 251abb0d0ed6 Showing diff from parent 4a17b61ddfbd Diff from another changeset...
@@ -225,14 +225,14 @@ QMessageBox.warning(self,
_("Cannot open subrepository"),
_("The selected subrepository does not exist on the working directory"))
-
+
def doubleClickHandler(self):
itemissubrepo = (self.model().dataFromIndex(self.currentIndex())['status'] == 'S')
if itemissubrepo:
self.opensubrepo()
else:
self.vdiff()
-
+
def createActions(self):
self.actionShowAllMerge = QAction(_('Show All'), self)
self.actionShowAllMerge.setToolTip(
@@ -264,7 +264,7 @@ ('revert', _('Revert to Revision'), 'hg-revert', 'Alt+Ctrl+T',
_('Revert file(s) to contents at this revision'),
self.revertfile),
- ('opensubrepo', _('Open subrepository'), 'thg-repository-open',
+ ('opensubrepo', _('Open subrepository'), 'thg-repository-open',
'Alt+Ctrl+O', _('Open the selected subrepository'),
self.opensubrepo),
]:
@@ -279,7 +279,7 @@ act.triggered.connect(cb)
self._actions[name] = act
self.addAction(act)
-
+
def contextMenuEvent(self, event):
itemissubrepo = (self.model().dataFromIndex(self.currentIndex())['status'] == 'S')
|
Loading...