Fix a bug that could cause the show pabe buttons to not show hidden panes

This commit is contained in:
Kovid Goyal 2010-06-13 22:17:57 -06:00
parent 6bf8d09708
commit f0f57cf009

View File

@ -1110,6 +1110,8 @@ class Splitter(QSplitter):
def show_side_pane(self):
if self.count() < 2 or not self.is_side_index_hidden:
return
if self.desired_side_size == 0:
self.desired_side_size = self.initial_side_size
self.apply_state((True, self.desired_side_size))
def hide_side_pane(self):