From: John Levon Date: Wed, 17 Jul 2002 16:18:13 +0000 (+0000) Subject: remove commandshortcut as a member X-Git-Tag: 1.6.10~18834 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=360890e5721dc11386c346662a26841b39ada751;p=features.git remove commandshortcut as a member git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4686 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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)