]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2476: Use double spin box instead double input
authorvsv <vsv@opencascade.com>
Tue, 22 May 2018 12:54:53 +0000 (15:54 +0300)
committervsv <vsv@opencascade.com>
Tue, 22 May 2018 12:55:15 +0000 (15:55 +0300)
src/ModuleBase/ModuleBase_Preferences.cpp

index c14fd6dd9e72557202372d764b764189d117d3bc..c7da97099b5d9b6e44d98242c6f7396bdb69fba0 100644 (file)
@@ -320,9 +320,9 @@ void ModuleBase_PreferencesDlg::createViewerPage(int thePageId)
 
   int sensitivityGroup = myPreferences->addItem(tr("Selection sensitivity"), viewTab);
   myPreferences->setItemProperty("columns", 2, sensitivityGroup);
-  myPreferences->addItem(tr("Vertex"), sensitivityGroup, SUIT_PreferenceMgr::Double,
+  myPreferences->addItem(tr("Vertex"), sensitivityGroup, SUIT_PreferenceMgr::DblSpin,
                          ModuleBase_Preferences::VIEWER_SECTION, "point-selection-sensitivity");
-  myPreferences->addItem(tr("Edge"), sensitivityGroup, SUIT_PreferenceMgr::Double,
+  myPreferences->addItem(tr("Edge"), sensitivityGroup, SUIT_PreferenceMgr::DblSpin,
                          ModuleBase_Preferences::VIEWER_SECTION, "edge-selection-sensitivity");
 }