Changeset 686954ba1224…
Parent 49a0cab91515…
by
Changes to one file · Browse files at 686954ba1224 Showing diff from parent 49a0cab91515 Diff from another changeset...
@@ -692,12 +692,9 @@ if not cw.canswitch():
return
ctx = self.repo.changectx(rev)
- if rev is None:
+ if rev is None or ('mq' in self.repo.extensions() and 'qtip' in ctx.tags()):
# Clicking on working copy switches to commit tab
tw.setCurrentIndex(self.commitTabIndex)
- elif 'mq' in self.repo.extensions() and 'qtip' in ctx.tags():
- # Clicking on latest applied patch switches to mq tab
- tw.setCurrentIndex(self.mqTabIndex)
else:
# Clicking on a normal revision switches from commit tab
tw.setCurrentIndex(self.logTabIndex)
|
Loading...