ReaderHighlight: minor fixes (#10142)
* readerui: save highlight to pdf requires button press * readerhighlight: fix select mode confirmbox icon
This commit is contained in:
1 parent
e79f161516
commit
54b3b5a8cc
2 files changed
+4
-4
No files matched your search
@@ -756,9 +756,9 @@ function ReaderUI:notifyCloseDocument()
|
||||
self:closeDocument()
|
||||
else
|
||||
UIManager:show(ConfirmBox:new{
|
||||
text = _("Do you want to save this document?"),
|
||||
ok_text = _("Save"),
|
||||
cancel_text = _("Don't save"),
|
||||
text = _("Write highlights into this PDF??"),
|
||||
ok_text = _("Write"),
|
||||
dismissable = false,
|
||||
ok_callback = function()
|
||||
self:closeDocument()
|
||||
end,
|
||||
|
||||
Reference in new issue
Block a user