X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolCreatorBase.txx;h=94741ddff3133af84608c4547ba1aecaa807647f;hb=bd677d0b9541c674700d1610c4dcddf8fa57c328;hp=2f7121e339e63426bfda16de0c5299ceb2fa729f;hpb=0b7c9b1e1215634b02cbd38d4e4ba101d6111ba8;p=clitk.git diff --git a/vv/vvToolCreatorBase.txx b/vv/vvToolCreatorBase.txx index 2f7121e..94741dd 100644 --- a/vv/vvToolCreatorBase.txx +++ b/vv/vvToolCreatorBase.txx @@ -15,12 +15,14 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html ======================================================================-====*/ + template void vvToolCreatorBase::CreateTool() { // Get information on the current image mMainWindow->UpdateCurrentSlicer(); // Create the tool ToolType * tool = new ToolType(mMainWindow); + tool->setSender(mSender); // Put it in the list of open tools mListOfTool.push_back(tool); // Go !