mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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())
|
||||
return;
|
||||
|
||||
string data = format_->name();
|
||||
string sdata = format_->name();
|
||||
if (!command_.isEmpty())
|
||||
data += " " + fromqstr(command_);
|
||||
sdata += " " + fromqstr(command_);
|
||||
|
||||
FuncCode const lfun = command_.isEmpty() ?
|
||||
LFUN_BUFFER_EXPORT : getLfun();
|
||||
|
||||
dispatch(FuncRequest(lfun, data));
|
||||
dispatch(FuncRequest(lfun, sdata));
|
||||
}
|
||||
|
||||
Dialog * createGuiSendTo(GuiView & lv) { return new GuiSendTo(lv); }
|
||||
|
Loading…
Reference in New Issue
Block a user