diff --git a/src/ChangeLog b/src/ChangeLog index b952594f9f..46ec5100d5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-07-17 John Levon + + * lyxfunc.h: + * lyxfunc.C: no need for commandshortcut to be a member 2002-07-15 André Pönitz diff --git a/src/lyxfunc.C b/src/lyxfunc.C index 441693f803..99e65aed54 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -728,7 +728,7 @@ void LyXFunc::verboseDispatch(kb_action action, { string res = dispatch(action, argument); - commandshortcut.erase(); + string commandshortcut; if (show_sc && action != LFUN_SELFINSERT) { // Put name of command and list of shortcuts diff --git a/src/lyxfunc.h b/src/lyxfunc.h index 70153ce121..a1c0ec9c65 100644 --- a/src/lyxfunc.h +++ b/src/lyxfunc.h @@ -112,8 +112,6 @@ private: /** Buffer to store messages and result data from getStatus */ mutable string status_buffer; - /// Command name and shortcut information - string commandshortcut; // I think the following should be moved to BufferView. (Asger)