From b96349f929c6feee8358bea19b8eb88758363da2 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Fri, 2 Apr 2010 10:27:04 +0000 Subject: [PATCH] Remove Esc shortcut from "Discard" buttons, to avoid accidentally undoing complex changes to routines or views. Fixes issue #1824. --- source/routine_editor.dfm | 1 - source/view.dfm | 1 - 2 files changed, 2 deletions(-) diff --git a/source/routine_editor.dfm b/source/routine_editor.dfm index 2f9e1321..6f4899f2 100644 --- a/source/routine_editor.dfm +++ b/source/routine_editor.dfm @@ -34,7 +34,6 @@ object frmRoutineEditor: TfrmRoutineEditor Width = 75 Height = 25 Anchors = [akLeft, akBottom] - Cancel = True Caption = 'Discard' ModalResult = 2 TabOrder = 2 diff --git a/source/view.dfm b/source/view.dfm index 5a542f74..bf087368 100644 --- a/source/view.dfm +++ b/source/view.dfm @@ -90,7 +90,6 @@ object frmView: TfrmView Width = 75 Height = 25 Anchors = [akLeft, akBottom] - Cancel = True Caption = 'Discard' TabOrder = 3 OnClick = btnDiscardClick