mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
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:
parent
db19378bbe
commit
8186ecfef9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user