From e20d005efdb14af82c2ad1a8f186dbd95b54a845 Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Thu, 23 Jan 2020 02:23:48 -0500 Subject: [PATCH] do not enable the OK button on initial dialog load since no Accessor has been selected --- .../Dialogs/DocumentPropertiesDialog.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/Dialogs/DocumentPropertiesDialog.cs b/CSharp/Libraries/UniversalEditor.UserInterface/Dialogs/DocumentPropertiesDialog.cs index 3fba2572..812947b9 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/Dialogs/DocumentPropertiesDialog.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/Dialogs/DocumentPropertiesDialog.cs @@ -51,6 +51,8 @@ namespace UniversalEditor.UserInterface.Dialogs this.Buttons [0].ResponseValue = (int)DialogResult.OK; this.Buttons [1].ResponseValue = (int)DialogResult.Cancel; + + this.Buttons[0].Enabled = false; switch (Mode) {