From 6b42c1162642a49696d42cb5c9544b53f92ad9c9 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Sun, 19 Aug 2012 02:38:24 +0200 Subject: [PATCH] CHANGED: #1471 I probably shouldn't sacrifice the game's key config parsing on the altar of the GUI editor :P --HG-- branch : gsoc2012-gui-editor --- code/nel/src/gui/interface_parser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/nel/src/gui/interface_parser.cpp b/code/nel/src/gui/interface_parser.cpp index 6a9563475..ee6a8087e 100644 --- a/code/nel/src/gui/interface_parser.cpp +++ b/code/nel/src/gui/interface_parser.cpp @@ -478,9 +478,8 @@ namespace NLGUI // todo hulud interface syntax error nlwarning ("could not read all styles"); } - if( !strcmp((char*)curNode->name,"key" ) ) + if( !strcmp((char*)curNode->name,"key" ) && editorMode ) { - if( editorMode ) saveKeySettings( curNode ); } // If define and style oks, try to parse "1st pass" objets (define, options....).