mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
Fix bug #10883.
This commit is contained in:
parent
4393388508
commit
c1d8efcf4b
@ -143,14 +143,14 @@ void GuiSendTo::dispatchParams()
|
|||||||
if (!format_ || format_->name().empty())
|
if (!format_ || format_->name().empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
string data = format_->name();
|
string sdata = format_->name();
|
||||||
if (!command_.isEmpty())
|
if (!command_.isEmpty())
|
||||||
data += " " + fromqstr(command_);
|
sdata += " " + fromqstr(command_);
|
||||||
|
|
||||||
FuncCode const lfun = command_.isEmpty() ?
|
FuncCode const lfun = command_.isEmpty() ?
|
||||||
LFUN_BUFFER_EXPORT : getLfun();
|
LFUN_BUFFER_EXPORT : getLfun();
|
||||||
|
|
||||||
dispatch(FuncRequest(lfun, data));
|
dispatch(FuncRequest(lfun, sdata));
|
||||||
}
|
}
|
||||||
|
|
||||||
Dialog * createGuiSendTo(GuiView & lv) { return new GuiSendTo(lv); }
|
Dialog * createGuiSendTo(GuiView & lv) { return new GuiSendTo(lv); }
|
||||||
|
Loading…
Reference in New Issue
Block a user