From 03718c93d93c8681d445a915414e3af4361ed8bf Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 23 Oct 2013 12:53:12 +0000 Subject: [PATCH] Debugger: fix adding watch via dialog. Open watch view window git-svn-id: trunk@43304 - --- ide/debugmanager.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ide/debugmanager.pas b/ide/debugmanager.pas index dbb4f0d50e..b30fca66a2 100644 --- a/ide/debugmanager.pas +++ b/ide/debugmanager.pas @@ -941,7 +941,8 @@ begin end; // watch was not added automatically => show a dialog - ShowWatchProperties(nil, ''); + if ShowWatchProperties(nil, '') = mrOK then + ViewDebugDialog(ddtWatches, False); end; //-----------------------------------------------------------------------------