From 5c65881fde5cc5ed67ea87666499e275b06a7901 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 11 Jun 2018 12:10:19 +0100 Subject: [PATCH] Allow Global Fields Editor to Cancel with no changes. --- eeschema/dialogs/dialog_fields_editor_global.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eeschema/dialogs/dialog_fields_editor_global.cpp b/eeschema/dialogs/dialog_fields_editor_global.cpp index 67f1d2d9c0..f428971c14 100644 --- a/eeschema/dialogs/dialog_fields_editor_global.cpp +++ b/eeschema/dialogs/dialog_fields_editor_global.cpp @@ -867,4 +867,8 @@ void DIALOG_FIELDS_EDITOR_GLOBAL::OnClose( wxCloseEvent& event ) break; } } + else + { + event.Skip(); + } }