Changeset 1a68c6ba32e3…
Parent 3b49e292b6ea…
by
Changes to one file · Browse files at 1a68c6ba32e3 Showing diff from parent 3b49e292b6ea Diff from another changeset...
@@ -2079,8 +2079,11 @@ self.hpaned.set_position(self.setting_hpos)
if hasattr(self, 'mqpaned') and self.mqtb.get_active():
self.mqpaned.set_position(self.setting_mqhpos)
- if hasattr(self, 'pbranchpaned') and self.pbranchtb.get_active():
- self.pbranchpaned.set_position(self.setting_pbranchhpos)
+ if hasattr(self, 'pbranchpaned'):
+ pos = 0
+ if self.pbranchtb.get_active():
+ pos = self.setting_pbranchhpos
+ self.pbranchpaned.set_position(pos)
def thgdiff(self, treeview):
'ctrl-d handler'
|
Loading...