From: mzn Date: Tue, 23 Dec 2008 11:34:54 +0000 (+0000) Subject: Fix for bug IPAL20758 (5.x: Prefences dialog box: duplicated "Study properties" group... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=62555eb0c04e7cb4f3b4fcf0a8088b926e5680af;p=modules%2Fgui.git Fix for bug IPAL20758 (5.x: Prefences dialog box: duplicated "Study properties" group box). --- diff --git a/src/SUIT/SUIT_PreferenceMgr.cxx b/src/SUIT/SUIT_PreferenceMgr.cxx index 555e152b2..512fdafa0 100644 --- a/src/SUIT/SUIT_PreferenceMgr.cxx +++ b/src/SUIT/SUIT_PreferenceMgr.cxx @@ -79,7 +79,7 @@ int SUIT_PreferenceMgr::addItem( const QString& title, const int pId, QtxPreferenceItem* item = parent->findItem( title, true ); - if ( item && item->depth() < 4 ) + if ( item && item->depth() < 5 ) return item->id(); if ( pId == -1 )