From: vsv Date: Mon, 2 Jul 2018 09:56:30 +0000 (+0300) Subject: Issue #2476: Set double spin boxes for Viewer properties definition in Salome desktop X-Git-Tag: SHAPER_V9_1_0RC1~143 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7646e9262c62192ef43e0373d7b8f562d5a5dad2;p=modules%2Fshaper.git Issue #2476: Set double spin boxes for Viewer properties definition in Salome desktop --- diff --git a/src/SHAPERGUI/SHAPERGUI.cpp b/src/SHAPERGUI/SHAPERGUI.cpp index 20524c903..d764e2753 100644 --- a/src/SHAPERGUI/SHAPERGUI.cpp +++ b/src/SHAPERGUI/SHAPERGUI.cpp @@ -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(); }