* Licence details can be found in the file COPYING.
*
* \author unknown
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
* \author Angus Leeming
* \author John Levon
*
#include <config.h>
#include "Intl.h"
-#include "debug.h"
#include "LyXRC.h"
-using std::endl;
-
+#include "support/debug.h"
namespace lyx {
keyMapPrim();
else
keyMapSec();
- } else
+ } else {
trans.disableKeymap();
+ }
}
void Intl::toggleKeyMap()
{
- if (keymapon && (keymap == PRIMARY)) {
+ if (keymapon && (keymap == PRIMARY))
keyMapSec();
- } else if (keymapon) {
+ else if (keymapon)
keyMapOn(false);
- } else
+ else
keyMapPrim();
}