fix for history action
This commit is contained in:
1 parent
a77618fc49
commit
bf3a99eade
1 file changed
+2
-2
@@ -114,8 +114,8 @@ public class CalculatorView implements CursorControl{
|
||||
// actually nothing shall be logged while text operations are done
|
||||
evaluate(editorStateAfter, true);
|
||||
|
||||
if (history.isRedoAvailable()) {
|
||||
history.redo(getCurrentHistoryState());
|
||||
if (history.isUndoAvailable()) {
|
||||
history.undo(getCurrentHistoryState());
|
||||
}
|
||||
saveHistoryState();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user