Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

repowidget: always align task tabs with workbench actionGroupTaskView items

Fixes a bug exposed in changeset cb64d53534d7, default branch, with mq
disabled -- the workbench sync/manifest/search buttons open the wrong widgets.

Changeset 770e59048532

Parent 4da67d0db91b

by Phil Currier

Changes to one file · Browse files at 770e59048532 Showing diff from parent 4da67d0db91b Diff from another changeset...

 
163
164
165
 
166
167
 
168
169
170
 
183
184
185
 
186
187
 
188
189
190
 
163
164
165
166
167
 
168
169
170
171
 
184
185
186
187
188
 
189
190
191
192
@@ -163,8 +163,9 @@
  tt.setTabToolTip(idx, _("Commit"))     self.mqDemand = w = DemandWidget(self.createMQWidget) + idx = tt.addTab(w, qtlib.geticon('thg-mq'), '')   if 'mq' in self.repo.extensions(): - self.mqTabIndex = idx = tt.addTab(w, qtlib.geticon('thg-mq'), '') + self.mqTabIndex = idx   tt.setTabToolTip(idx, _("Patch Queue"))   self.namedTabs['mq'] = idx   else: @@ -183,8 +184,9 @@
  tt.setTabToolTip(idx, _("Search"))     self.pbranchDemand = w = DemandWidget(self.createPatchBranchWidget) + idx = tt.addTab(w, qtlib.geticon('branch'), '')   if 'pbranch' in self.repo.extensions(): - self.pbranchTabIndex = idx = tt.addTab(w, qtlib.geticon('branch'), '') + self.pbranchTabIndex = idx   tt.setTabToolTip(idx, _("Patch Branch"))   self.namedTabs['pbranch'] = idx   else: