mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 02:53:38 +02: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
1 changed files with 2 additions and 0 deletions
|
|
@ -1110,6 +1110,8 @@ def toggle_side_pane(self, hide=None):
|
|||
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…
Reference in a new issue