]> Creatis software - clitk.git/commitdiff
Really hide input selector
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Mon, 13 Feb 2012 13:25:39 +0000 (14:25 +0100)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Mon, 13 Feb 2012 13:25:39 +0000 (14:25 +0100)
vv/vvToolWidgetBase.cxx

index c780768e9c86e3502cf7ade0edb86f902806db51..6abc741ac47917b8fe6f671492a2b0398e957300 100644 (file)
@@ -246,10 +246,7 @@ void vvToolWidgetBase::AddInputSelector(QString s, bool allowSkip)
 //------------------------------------------------------------------------------
 void vvToolWidgetBase::HideInputSelector()
 {
-  QList<int> s;
-  s.push_back(0);
-  s.push_back(1);
-  splitter->setSizes(s);
+  mToolInputSelectionWidget->hide();
 }
 //------------------------------------------------------------------------------