Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

stable repowidget: make sure task tab is visible on switch (fixes #1033)

Switching invisible tabs is meaningless. If user clicks the task tab
toolbutton, he will want to see the corresponding task tab.

Changeset 3e700edaa730

Parent 92e7048e21dc

by Yuya Nishihara

Changes to one file · Browse files at 3e700edaa730 Showing diff from parent 92e7048e21dc Diff from another changeset...

 
245
246
247
 
 
 
 
248
249
250
 
245
246
247
248
249
250
251
252
253
254
@@ -245,6 +245,10 @@
  idx = self.namedTabs[tabname]   self.taskTabsWidget.setCurrentIndex(idx)   + # restore default splitter position if task tab is invisible + if self.repotabs_splitter.sizes()[1] == 0: + self.repotabs_splitter.setSizes([1, 1]) +   def title(self):   """Returns the expected title for this widget [unicode]"""   if self.bundle: