From 53357ca9ec96bb49f51e13073cb90a9e35d5f34e Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Tue, 9 Sep 2014 22:01:52 +0200 Subject: [PATCH] Don't add Virtual Structs to the property browser! --HG-- branch : dfighter-tools --- code/studio/src/plugins/georges_editor/browser_ctrl_pvt.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/studio/src/plugins/georges_editor/browser_ctrl_pvt.cpp b/code/studio/src/plugins/georges_editor/browser_ctrl_pvt.cpp index 2461bb218..cdc9950a3 100644 --- a/code/studio/src/plugins/georges_editor/browser_ctrl_pvt.cpp +++ b/code/studio/src/plugins/georges_editor/browser_ctrl_pvt.cpp @@ -132,6 +132,9 @@ void BrowserCtrlPvt::setupAtom( NLGEORGES::CFormElmStruct *st, int idx ) NLGEORGES::CFormDfn::CEntry &entry = st->FormDfn->getEntry( idx ); if( entry.getArrayFlag() ) return; + + if( entry.getType() == NLGEORGES::UFormDfn::EntryVirtualDfn ) + return; } QString key = elm.Name.c_str();