Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

workbench: do not remember initial tab index

By the time the tab changes its title, it will probably have changed

Changeset 4ac55403cfc1

Parent 6c87c0968ab6

by Steve Borho

Changes to one file · Browse files at 4ac55403cfc1 Showing diff from parent 6c87c0968ab6 Diff from another changeset...

 
428
429
430
431
 
432
433
434
 
428
429
430
 
431
432
433
434
@@ -428,7 +428,7 @@
  index = self.repoTabsWidget.addTab(rw, rw.title())   tw.setCurrentIndex(index)   rw.titleChanged.connect( - lambda title: self.repoTabsWidget.setTabText(index, title)) + lambda title: tw.setTabText(tw.indexOf(rw), title))   self.reporegistry.addRepo(repo.root)     self.updateMenu()