From e115c7d3bfbe5071ae2d37e4be4cac6c6a9dcdcd Mon Sep 17 00:00:00 2001 From: alcexhim Date: Sun, 10 Aug 2014 01:21:53 -0400 Subject: [PATCH] Got the Boolean values backwards, it's late --- .../WindowsFormsEngine.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/WindowsFormsEngine.cs b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/WindowsFormsEngine.cs index 66fb193b..e9db0814 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/WindowsFormsEngine.cs +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/WindowsFormsEngine.cs @@ -404,11 +404,11 @@ namespace UniversalEditor.UserInterface.WindowsForms public override bool ShowDataFormatOptionsDialog(ref DataFormat df, DataFormatOptionsDialogType type) { - if (DataFormatOptionsDialog.ShowDialog(ref df, type) == DialogResult.OK) + if (DataFormatOptionsDialog.ShowDialog(ref df, type) == DialogResult.Cancel) { - return true; + return false; } - return false; + return true; } } }