mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Add status message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34150 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
98f106f2ca
commit
499908ebab
@ -3238,8 +3238,10 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
}
|
||||
|
||||
int row = doc_buffer->texrow().getRowFromIdPos(bv->cursor().paragraph().id(), bv->cursor().pos());
|
||||
if (!row || command.empty())
|
||||
if (!row || command.empty()) {
|
||||
dr.setMessage(_("Couldn't proceed."));
|
||||
break;
|
||||
}
|
||||
string texrow = convert<string>(row);
|
||||
|
||||
command = subst(command, "$$n", texrow);
|
||||
|
Loading…
Reference in New Issue
Block a user