From 7646e9262c62192ef43e0373d7b8f562d5a5dad2 Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 2 Jul 2018 12:56:30 +0300 Subject: [PATCH] Issue #2476: Set double spin boxes for Viewer properties definition in Salome desktop --- src/SHAPERGUI/SHAPERGUI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.39.2