]> git.lyx.org Git - lyx.git/blobdiff - src/LyXFunc.cpp
Update it.po
[lyx.git] / src / LyXFunc.cpp
index 19049d2d33618d9b8a81ab0f77145424fb200d58..4c035bf71159f14e7c54a8545a48ce73b71fed9d 100644 (file)
@@ -1652,8 +1652,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                }
 
                // 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();                    
@@ -1707,7 +1706,7 @@ void LyXFunc::sendDispatchMessage(docstring const & msg, FuncRequest const & cmd
                }
        }
 
-       docstring const shortcuts = theTopLevelKeymap().printBindings(cmd);
+       docstring const shortcuts = theTopLevelKeymap().printBindings(cmd, KeySequence::ForGui);
 
        if (!shortcuts.empty())
                comname += ": " + shortcuts;