mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
buffer-forall now disables async
Before, the command buffer-forall buffer-export only exported one buffer for me. With async disabled, the command works as documented and successfully exports all buffers. Also before, I received an assertion from buffer-forall buffer-close which caused a SIGSEGV at #9422. Now, the action works as expected.
This commit is contained in:
parent
97021ee369
commit
8be514258f
@ -1883,7 +1883,8 @@ void GuiApplication::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
}
|
||||
|
||||
case LFUN_BUFFER_FORALL: {
|
||||
FuncRequest const funcToRun = lyxaction.lookupFunc(cmd.getLongArg(0));
|
||||
FuncRequest funcToRun = lyxaction.lookupFunc(cmd.getLongArg(0));
|
||||
funcToRun.allowAsync(false);
|
||||
|
||||
map<Buffer *, GuiView *> views_lVisible;
|
||||
map<GuiView *, Buffer *> activeBuffers;
|
||||
|
Loading…
Reference in New Issue
Block a user