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

Fixes #9740

thanks to @hius07 for the hint!
reviewable/pr9754/r1
Martín Fernández 2 years ago committed by GitHub
parent cd69382934
commit 9473c70dcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()

Loading…
Cancel
Save