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
This commit is contained in:
Vincent van Ravesteijn 2010-01-30 15:40:18 +00:00
parent db19378bbe
commit 8186ecfef9

View File

@ -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: