X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolWidgetBase.cxx;h=6abc741ac47917b8fe6f671492a2b0398e957300;hb=1bd2bf8d3ee24d10708d27d1347eab8467318c94;hp=668a07c813c6a0289cb3c738fb59d0464d23dc0b;hpb=bad2fe48b5388a7469c43e4500cba8d19e402630;p=clitk.git diff --git a/vv/vvToolWidgetBase.cxx b/vv/vvToolWidgetBase.cxx index 668a07c..6abc741 100644 --- a/vv/vvToolWidgetBase.cxx +++ b/vv/vvToolWidgetBase.cxx @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ // vv #include "vvToolWidgetBase.h" @@ -25,6 +25,7 @@ #include #include #include +#include //------------------------------------------------------------------------------ // Static initialisation @@ -245,10 +246,7 @@ void vvToolWidgetBase::AddInputSelector(QString s, bool allowSkip) //------------------------------------------------------------------------------ void vvToolWidgetBase::HideInputSelector() { - QList s; - s.push_back(0); - s.push_back(1); - splitter->setSizes(s); + mToolInputSelectionWidget->hide(); } //------------------------------------------------------------------------------