From: Vincent van Ravesteijn Date: Sat, 30 Jan 2010 15:40:18 +0000 (+0000) Subject: Use the DispatchResult also for LFUN_MESSAGE and LFUN_BUFFER_WRITE_ALL. X-Git-Tag: 2.0.0~4183 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8186ecfef932bd48b8e40ef765fc3eff00c6b7d0;p=features.git Use the DispatchResult also for LFUN_MESSAGE and LFUN_BUFFER_WRITE_ALL. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33277 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index e5556b1bea..76abfc49ed 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -2900,7 +2900,7 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr) } b = theBufferList().next(b); } while (b != first); - message(_("All documents saved.")); + dr.setMessage(_("All documents saved.")); break; } @@ -2996,7 +2996,7 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr) } case LFUN_MESSAGE: - message(cmd.argument()); + dr.setMessage(cmd.argument()); break; case LFUN_UI_TOGGLE: