X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=lib%2FInterface_Icons_NDimensions%2FinterfMainPanel.cxx;h=4b8c16e9037c8b040bbeb4340c531f02a7b5d41b;hb=d20aa4c87071dd7795678e7716c6f8ba248cebc1;hp=47f763778d560b89a3c950e5344db3b61bb56017;hpb=cbe3176d12a4163a8ec9bfe62cd62ceba115090e;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfMainPanel.cxx b/lib/Interface_Icons_NDimensions/interfMainPanel.cxx index 47f7637..4b8c16e 100644 --- a/lib/Interface_Icons_NDimensions/interfMainPanel.cxx +++ b/lib/Interface_Icons_NDimensions/interfMainPanel.cxx @@ -721,7 +721,6 @@ void interfMainPanel::onThresholdPressed() { if(thresholdShown) { - wxContourMainFrame::getInstance()->refLineHide(); thresholdShown=false; panelThreshold->onThresholdStop(); @@ -730,9 +729,7 @@ void interfMainPanel::onThresholdPressed() else if (!thresholdShown) { - wxContourMainFrame::getInstance()->refLineShow(); thresholdShown=true; - showPanel(thresholdPanel); } }