exporter: prevent exporting documents when they're not open (#9753)

Fixes #9740

thanks to @hius07 for the hint!
This commit is contained in:
Martín Fernández
2022-11-06 11:01:59 +01:00
committed by GitHub
parent cd69382934
commit 9473c70dcc

View File

@@ -127,7 +127,7 @@ function Exporter:isReady()
end
function Exporter:isDocReady()
return self.ui and self.ui.document and self.view
return self.ui and self.ui.document and self.view or false
end
function Exporter:isReadyToExport()