Prevent selection_bar from becoming visible when create annotations panel is visible

This commit is contained in:
Kovid Goyal 2020-07-22 22:35:42 +05:30
parent fcbdfc570d
commit 3a5d99051c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -48,6 +48,8 @@ class SelectionBar:
self.container.style.display = 'none' self.container.style.display = 'none'
def show(self): def show(self):
if self.view.create_annotation.is_visible:
return
self.container.style.display = 'block' self.container.style.display = 'block'
@property @property