mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Fix a bug that could cause the show pabe buttons to not show hidden panes
This commit is contained in:
parent
6bf8d09708
commit
f0f57cf009
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user