From b6970c54aec902c28b7ed35138a3fea81e8f4515 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Sat, 9 Mar 2013 22:31:51 +0100 Subject: [PATCH] MODIFIED: Ups, missed this. --HG-- branch : gsoc2012-gui-editor --- code/nel/src/gui/interface_element.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/nel/src/gui/interface_element.cpp b/code/nel/src/gui/interface_element.cpp index 9385887a4..acc3197d7 100644 --- a/code/nel/src/gui/interface_element.cpp +++ b/code/nel/src/gui/interface_element.cpp @@ -45,7 +45,9 @@ namespace NLGUI } delete _Links; } - notifyDeletionWatchers(); + + if( editorMode ) + notifyDeletionWatchers(); } // ------------------------------------------------------------------------------------------------