]> git.lyx.org Git - features.git/commitdiff
GuiView::dispatch(): Fix cut&paste bug.
authorAbdelrazak Younes <younes@lyx.org>
Fri, 22 Feb 2008 17:36:40 +0000 (17:36 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 22 Feb 2008 17:36:40 +0000 (17:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23138 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 4b4c4d294d18a0042bb59beedfe417f6436c0a6e..c2bcf1b8e9897cc748af0dc47cc1380465f0a738 100644 (file)
@@ -1847,6 +1847,7 @@ bool GuiView::dispatch(FuncRequest const & cmd)
                                GuiWorkArea * wa = twa->addWorkArea(*buf, *this);
                                setCurrentWorkArea(wa);
                        }
+                       break;
 
                case LFUN_CLOSE_TAB_GROUP:
                        if (TabWorkArea * twa = d.currentTabWorkArea()) {
@@ -1858,6 +1859,7 @@ bool GuiView::dispatch(FuncRequest const & cmd)
                                        // No more work area, switch to the background widget.
                                        d.setBackground();
                        }
+                       break;
                        
                case LFUN_COMPLETION_POPUP:
                        if (d.current_work_area_)