}
// if we executed a mutating lfun, mark the buffer as dirty
- if (buffer
- && theBufferList().isLoaded(buffer) && flag.enabled()
+ if (theBufferList().isLoaded(buffer) && flag.enabled()
&& !lyxaction.funcHasFlag(action, LyXAction::NoBuffer)
&& !lyxaction.funcHasFlag(action, LyXAction::ReadOnly))
buffer->markDirty();
}
}
- docstring const shortcuts = theTopLevelKeymap().printBindings(cmd);
+ docstring const shortcuts = theTopLevelKeymap().printBindings(cmd, KeySequence::ForGui);
if (!shortcuts.empty())
comname += ": " + shortcuts;