Initialize correctly the default keymap

If keymaps are activated and there is a secondary keymap but no
primary one, then the pointer to the active keymap was 0x0. This can't
be good.

Fixes bug #9685.
This commit is contained in:
Jean-Marc Lasgouttes 2015-07-21 11:36:49 +02:00
parent 2109412720
commit c2046bd19a
2 changed files with 3 additions and 1 deletions

View File

@ -580,7 +580,7 @@ Trans TransManager::default_;
TransManager::TransManager()
: active_(0)
: active_(&default_)
{}

View File

@ -255,6 +255,8 @@ What's new
- Fix shortcut conflicts (bug 9567).
- Fix crash when using a secondary keymap but no primary one (bug 9685).
* INTERNALS