Update current item when creating a stack
commit569fbad60b0721e27d6c38fcbea1264f5984a694
authorJan Kundrát <jkt@gentoo.org>
Sat, 30 May 2009 20:45:48 +0000 (30 20:45 +0000)
committerJan Kundrát <jkt@gentoo.org>
Sat, 30 May 2009 20:45:48 +0000 (30 20:45 +0000)
tree5dce837cf9a2eade4803ffe0d46522ff0e975a4f
parentea08768d99b5e481534b1adde389efa2846febe6
Update current item when creating a stack

If we don't do that and the cursor wasn't on the image which became the stack
head, then current item is invalid and the right arrow key will move to the
second image in the view instead of "one to the right".

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/extragear/graphics/kphotoalbum@975728 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
MainWindow/Window.cpp