remove commandshortcut as a member

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4686 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-07-17 16:18:13 +00:00
parent 19699c9f57
commit 360890e572
3 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2002-07-17 John Levon <moz@compsoc.man.ac.uk>
* lyxfunc.h:
* lyxfunc.C: no need for commandshortcut to be a member
2002-07-15 André Pönitz <poenitz@gmx.net>

View File

@ -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

View File

@ -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)