From 536019f8c6045f0b3e33b62586d4145dcd945eac Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Tue, 24 May 2011 15:14:19 +0200 Subject: [PATCH] Change current image when using tab key --- vv/vvMainWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } //------------------------------------------------------------------------------ -- 2.47.1