mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix for previous commit: We come right back through here from
exportBufferAs, so we need to make sure we haven't been given an export location.
This commit is contained in:
parent
1207d93951
commit
180f1d5497
@ -3530,7 +3530,8 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
dispatch(FuncRequest(LFUN_DIALOG_SHOW, "sendto"), dr);
|
||||
break;
|
||||
}
|
||||
if (doc_buffer->isUnnamed() || !target_dir.isDirWritable()) {
|
||||
if ((dest.empty() && doc_buffer->isUnnamed())
|
||||
|| !target_dir.isDirWritable()) {
|
||||
exportBufferAs(*doc_buffer, cmd.argument());
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user