]> git.lyx.org Git - features.git/commitdiff
remove commandshortcut as a member
authorJohn Levon <levon@movementarian.org>
Wed, 17 Jul 2002 16:18:13 +0000 (16:18 +0000)
committerJohn Levon <levon@movementarian.org>
Wed, 17 Jul 2002 16:18:13 +0000 (16:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4686 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/lyxfunc.C
src/lyxfunc.h

index b952594f9f10532c2ddeab23f8b94de7dc4b3f65..46ec5100d59807443522119ed5de91abf006ad09 100644 (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>
        
index 441693f8035f54ad73983742f0908a97da00f38b..99e65aed54ae096e2ec57eef5e02957a7deb9c83 100644 (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
index 70153ce12135e1b0ac11241990898f32d6a8b2ec..a1c0ec9c6516beca75d0c4d0646056743b3dc033 100644 (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)