|
@@ -604,7 +604,7 @@ namespace Compdfkit_Tools.PDFControl
|
|
public void UndoManager_PropertyChanged(object sender, PropertyChangedEventArgs e)
|
|
public void UndoManager_PropertyChanged(object sender, PropertyChangedEventArgs e)
|
|
{
|
|
{
|
|
OnPropertyChanged(e.PropertyName);
|
|
OnPropertyChanged(e.PropertyName);
|
|
- if (e.PropertyName == "CanSave")
|
|
|
|
|
|
+ if (e.PropertyName == "CanUndo" || e.PropertyName == "CanRedo")
|
|
{
|
|
{
|
|
OnCanSaveChanged?.Invoke(this, CanSave);
|
|
OnCanSaveChanged?.Invoke(this, CanSave);
|
|
}
|
|
}
|