mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Prevent selection_bar from becoming visible when create annotations panel is visible
This commit is contained in:
parent
fcbdfc570d
commit
3a5d99051c
@ -48,6 +48,8 @@ class SelectionBar:
|
||||
self.container.style.display = 'none'
|
||||
|
||||
def show(self):
|
||||
if self.view.create_annotation.is_visible:
|
||||
return
|
||||
self.container.style.display = 'block'
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user