]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2476: Set double spin boxes for Viewer properties definition in Salome desktop
authorvsv <vsv@opencascade.com>
Mon, 2 Jul 2018 09:56:30 +0000 (12:56 +0300)
committervsv <vsv@opencascade.com>
Mon, 2 Jul 2018 09:56:30 +0000 (12:56 +0300)
src/SHAPERGUI/SHAPERGUI.cpp

index 20524c9030f8fa31d56b65aa199c8ec559f6b905..d764e275396b0d26d473e15d812fed3d7d85c6dd 100644 (file)
@@ -694,9 +694,9 @@ void SHAPERGUI::createPreferences()
 
   int sensitivityGroup = pref->addItem(tr("Selection sensitivity"), viewTab);
   pref->setItemProperty("columns", 2, sensitivityGroup);
-  pref->addItem(tr("Vertex"), sensitivityGroup, SUIT_PreferenceMgr::Double,
+  pref->addItem(tr("Vertex"), sensitivityGroup, SUIT_PreferenceMgr::DblSpin,
                 ModuleBase_Preferences::VIEWER_SECTION, "point-selection-sensitivity");
-  pref->addItem(tr("Edge"), sensitivityGroup, SUIT_PreferenceMgr::Double,
+  pref->addItem(tr("Edge"), sensitivityGroup, SUIT_PreferenceMgr::DblSpin,
                 ModuleBase_Preferences::VIEWER_SECTION, "edge-selection-sensitivity");
   pref->retrieve();
 }