protection in case quickview fails to load
svn: r19708
This commit is contained in:
@@ -88,6 +88,7 @@ class QuickViewGramplet(Gramplet):
|
|||||||
quick_view,
|
quick_view,
|
||||||
active_handle,
|
active_handle,
|
||||||
container=self.gui.textview)
|
container=self.gui.textview)
|
||||||
|
if docman:
|
||||||
self.set_has_data(docman.document.has_data)
|
self.set_has_data(docman.document.has_data)
|
||||||
else:
|
else:
|
||||||
self.clear_text()
|
self.clear_text()
|
||||||
|
Reference in New Issue
Block a user