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