Consider UndoBuffer state on load
- Issue MatterHackers/MCCentral#4023 Undo history is lost on ReloadAll
This commit is contained in:
parent
e215e52c15
commit
9bf4e367e7
1 changed files with 3 additions and 0 deletions
|
|
@ -210,6 +210,9 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
redoButton.Enabled = undoBuffer.RedoCount > 0;
|
||||
};
|
||||
|
||||
undoButton.Enabled = undoBuffer.UndoCount > 0;
|
||||
redoButton.Enabled = undoBuffer.RedoCount > 0;
|
||||
|
||||
var buttonGroupA = new ObservableCollection<GuiWidget>();
|
||||
|
||||
if (UserSettings.Instance.IsTouchScreen)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue