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

workbench: try to fix racy reporegistry hiding bug

If the reporegistry was floating, minimize followed by restore of the workbench
window did not restore the reporegistry window (BUG!).

Without really understanding the root cause of the problem: simply using
self.reporegistry.isVisible() instead of the state parameter seems to fix this.

Changeset 6d0c9dcb099f

Parent a6b05458f589

by Adrian Buehlmann

Changes to one file · Browse files at 6d0c9dcb099f Showing diff from parent a6b05458f589 Diff from another changeset...

 
90
91
92
93
 
94
95
96
 
90
91
92
 
93
94
95
96
@@ -90,7 +90,7 @@
  self.setAcceptDrops(True)     def gotVisible(state): - self.actionShowRepoRegistry.setChecked(state) + self.actionShowRepoRegistry.setChecked(self.reporegistry.isVisible())   self.reporegistry.visibilityChanged.connect(gotVisible)     def showRepoRegistry(self, show):