mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
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:
parent
7675a81949
commit
0d38729281
@ -580,7 +580,7 @@ Trans TransManager::default_;
|
||||
|
||||
|
||||
TransManager::TransManager()
|
||||
: active_(0)
|
||||
: active_(&default_)
|
||||
{}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user