Close previewer if there is no card to render
This commit is contained in:
parent
ace61835de
commit
fce536f205
@ -1575,7 +1575,10 @@ where id in %s"""
|
||||
|
||||
def _renderPreview(self):
|
||||
if self._previewer:
|
||||
self._previewer.render_card()
|
||||
if self.singleCard:
|
||||
self._previewer.render_card()
|
||||
else:
|
||||
self.onTogglePreview()
|
||||
|
||||
def _cleanup_preview(self):
|
||||
if self._previewer:
|
||||
|
Loading…
Reference in New Issue
Block a user