Fix Find/Hex visibility issue

This commit is contained in:
Benjamin Popp 2020-05-07 21:35:51 -05:00
parent 19755a8620
commit b7c6fa01d6

View File

@ -109,7 +109,7 @@ namespace HavenSoft.HexManiac.Core.ViewModels {
ClearError.Execute();
ClearMessage.Execute();
gotoViewModel.ControlVisible = false;
hexConverterVisible = false;
HexConverterVisible = false;
}
TryUpdate(ref findControlVisible, value);
if (value) MoveFocusToFind?.Invoke(this, EventArgs.Empty);
@ -124,7 +124,7 @@ namespace HavenSoft.HexManiac.Core.ViewModels {
ClearError.Execute();
ClearMessage.Execute();
gotoViewModel.ControlVisible = false;
findControlVisible = false;
FindControlVisible = false;
}
TryUpdate(ref hexConverterVisible, value);
if (value) MoveFocusToHexConverter?.Invoke(this, EventArgs.Empty);