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 7675a81949
commit 0d38729281

View File

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