From 6cf524426406220a12160d1fd87cd3704fa9cf54 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 4 Jun 2013 06:17:03 +0000 Subject: [PATCH] IDE: fixed resetting duplicate build mode name git-svn-id: trunk@41524 - --- ide/buildmodesmanager.pas | 1 + ide/frames/compiler_modematrix.pas | 1 + 2 files changed, 2 insertions(+) diff --git a/ide/buildmodesmanager.pas b/ide/buildmodesmanager.pas index 6c5e80059b..513841d5d6 100644 --- a/ide/buildmodesmanager.pas +++ b/ide/buildmodesmanager.pas @@ -402,6 +402,7 @@ begin IDEMessageDialog(lisDuplicateEntry, lisThereIsAlreadyABuildModeWithThisName, mtError, [mbCancel]); NewValue:=CurMode.Identifier; + exit; end; end; BuildModes.RenameMatrixMode(CurMode.Identifier,s); diff --git a/ide/frames/compiler_modematrix.pas b/ide/frames/compiler_modematrix.pas index 10fe859224..f2daf06609 100644 --- a/ide/frames/compiler_modematrix.pas +++ b/ide/frames/compiler_modematrix.pas @@ -24,6 +24,7 @@ Options frame for build mode matrix options. ToDo: + - do not apply matrix options to makefile - wiki - undo: combine changes while editing a cell - remove old frame (idemacrovalues.pas,lfm)