yurchor added a comment.
In D18744#419212 <https://phabricator.kde.org/D18744#419212>, @shubham wrote: > @yurchor what about the crash case, is it fixed now? No. I think that the action should be created in part.cpp, setEnabled(false) by default, then setEnabled(true) in the Part::openFile to avoid the crash. Regretfully, no function (like isOpened) for setEnabled to connect to. REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D18744 To: shubham, aacid, #vdg, ngraham Cc: yurchor, michaelweghorn, kde-doc-english, davidhurka, abetts, loh.tar, alexde, ngraham, okular-devel, gennad, tfella, skadinna, darcyshen, aacid