mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +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
|
||||
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user