This commit is contained in:
Richard Heck 2018-02-22 00:21:41 -05:00
parent 4393388508
commit c1d8efcf4b

View File

@ -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); }