ahmadosama updated this revision to Diff 29771. ahmadosama added a comment.
I have done the required changes. I created the EditWidgetsCommand class to undo/redo the reset action of all widgets by a single click, also I moved the core implementation of the reset function to the Document class, and I updated the reset auto test to include the undo/redo and the test is working fine on the created tests. REPOSITORY R223 Okular CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D10932?vs=29396&id=29771 REVISION DETAIL https://phabricator.kde.org/D10932 AFFECTED FILES autotests/CMakeLists.txt autotests/resetformstest.cpp core/document.cpp core/document.h core/documentcommands.cpp core/documentcommands_p.h part.cpp part.h part.rc ui/pageview.cpp ui/pageview.h To: ahmadosama, #okular, aacid Cc: ngraham, aacid, #okular, michaelweghorn
