In qt the close/cancel buttons have missing accelerator keys

The following seems to solve it. Is this the right way to do it or does it 
break things for xforms?

Thanks, Ed.

Index: src/frontends/controllers/ButtonController.h
===================================================================
RCS file: 
/usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/ButtonController.h,v
retrieving revision 1.20
diff -u -p -r1.20 ButtonController.h
--- src/frontends/controllers/ButtonController.h        21 Oct 2002 17:38:08 -0000     
 
1.20
+++ src/frontends/controllers/ButtonController.h        10 Jan 2003 09:51:00 -0000
@@ -69,8 +69,8 @@ template <class BP, class GUIBC>
 class ButtonController: public GUIBC {
 public:
        ///
-       ButtonController(string const & = _("Cancel"),
-                        string const & = _("Close"));
+       ButtonController(string const & = _("&Cancel"),
+                        string const & = _("&Close"));
        ///
        ~ButtonController() {}
        ///

Reply via email to