]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for bug IPAL20758 (5.x: Prefences dialog box: duplicated "Study properties" group...
authormzn <mzn@opencascade.com>
Tue, 23 Dec 2008 11:34:54 +0000 (11:34 +0000)
committermzn <mzn@opencascade.com>
Tue, 23 Dec 2008 11:34:54 +0000 (11:34 +0000)
src/SUIT/SUIT_PreferenceMgr.cxx

index 555e152b280ff688fb08773da9adcaf5fef6ccd0..512fdafa0b6a09a589ca3ba0b6f5a457e57a24d7 100644 (file)
@@ -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 )