Salome HOME
Support both 5.5 and 5.6 version of ParaView
[modules/gui.git] / src / SUIT / SUIT_PreferenceMgr.cxx
index d6286ac8bf4ad2bc416f969433c7d5101c585736..4f8cb3fecb48a7e7e5a3a5a307b74756d434bac3 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -96,7 +96,7 @@ int SUIT_PreferenceMgr::addItem( const QString& title, const int pId,
       item = new QtxPagePrefTabsItem( title, parent, sect, param );
       break;
     case 2:
-      item = new QtxPagePrefFrameItem( title, parent, sect, param );
+      item = new QtxPagePrefFrameItem( title, parent, sect, param, true );
       break;
     case 3:
       item = new QtxPagePrefGroupItem( title, parent, sect, param );