]> git.lyx.org Git - features.git/commit
Fix bug 5819: Close button of tabbar closes wrong document
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 28 Feb 2009 13:56:41 +0000 (13:56 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 28 Feb 2009 13:56:41 +0000 (13:56 +0000)
commit2e78ca5a47ff611ad4a601b2bdafecbe7cf46779
tree29e189ad2ce9a384eef2800ab0b9f49eb111b804
parentff9f9c92aebbe01e3d9e8e788b9951dfa179c84c
Fix bug 5819: Close button of tabbar closes wrong document
http://bugzilla.lyx.org/show_bug.cgi?id=5819.

If no call to setCurrentIndex is made, we should make sure ourselves that the currentWorkArea switches to the clicked TabWorkArea.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28641 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiWorkArea.cpp