Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

history: show MQWidget if MQ has patches, not has applied patches

Initially, MQWidget is shown only if MQ has applied patches.
However, now it's shown if MQ has patches even though it has
applied patches.

Changeset f6426bc56b98

Parent d7415665d2a4

by Yuki KODAMA

Changes to one file · Browse files at f6426bc56b98 Showing diff from parent d7415665d2a4 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​history.py Stacked
 
1114
1115
1116
1117
 
1118
1119
1120
 
1114
1115
1116
 
1117
1118
1119
1120
@@ -1114,7 +1114,7 @@
  if not hasattr(self, 'mqpaned'):   return   if enable == None: - enable = bool('mq' in self.exs and self.repo.mq.applied) + enable = self.mqwidget.has_patch()   self.mqpaned.set_position(enable and 180 or 0)     # set the state of MQ toolbutton