From: Simon Rit Date: Tue, 24 May 2011 13:14:19 +0000 (+0200) Subject: Change current image when using tab key X-Git-Tag: v1.3.0~345^2~1^2~1 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=536019f8c6045f0b3e33b62586d4145dcd945eac;p=clitk.git Change current image when using tab key --- diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 760c4a7..5fe237f 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -2317,8 +2317,8 @@ void vvMainWindow::ChangeImageWithIndexOffset(vvSlicerManager *sm, int slicer, i index = (index+offset) % mSlicerManagers.size(); QTreeWidgetItem* item = GetItemFromSlicerManager(mSlicerManagers[index]); - //CurrentImageChanged(mSlicerManagers[index]->GetId()); //select new image item->setData(slicer+1,Qt::CheckStateRole,2); //change checkbox + CurrentImageChanged(mSlicerManagers[index]->GetId()); //select new image DisplayChanged(item,slicer+1); } //------------------------------------------------------------------------------