partial refresh after deleting highlights

This should fix #1558.
This commit is contained in:
chrox
2015-07-05 01:53:43 +08:00
parent 0b45394a7f
commit ec1d9e4b7d

View File

@@ -203,7 +203,8 @@ function ReaderHighlight:onShowHighlightDialog(page, index)
text = _("Delete"),
callback = function()
self:deleteHighlight(page, index)
UIManager:close(self.edit_highlight_dialog)
-- other part outside of the dialog may be dirty
UIManager:close(self.edit_highlight_dialog, "ui")
end,
},
{