mirror of
https://github.com/koreader/koreader.git
synced 2025-12-18 12:02:09 +01:00
exporter: prevent exporting documents when they're not open (#9753)
Fixes #9740 thanks to @hius07 for the hint!
This commit is contained in:
@@ -127,7 +127,7 @@ function Exporter:isReady()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function Exporter:isDocReady()
|
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
|
end
|
||||||
|
|
||||||
function Exporter:isReadyToExport()
|
function Exporter:isReadyToExport()
|
||||||
|
|||||||
Reference in New Issue
Block a user