Add missing transition to button controller

(needed by GuiCharacter, the only user of that specific policy)
This commit is contained in:
Juergen Spitzmueller 2018-05-05 11:32:56 +02:00
parent d4598bab62
commit 164e8d1dc8

View File

@ -595,6 +595,7 @@ void ButtonPolicy::Private::initOkApplyCancelAutoReadOnly()
state_machine_[INVALID][SMI_INVALID] = INVALID;
state_machine_[INVALID][SMI_READ_WRITE] = INVALID;
state_machine_[INVALID][SMI_VALID] = VALID;
state_machine_[INVALID][SMI_OKAY] = INITIAL;
state_machine_[INVALID][SMI_RESTORE] = INITIAL;
state_machine_[INVALID][SMI_READ_ONLY] = RO_INVALID;
state_machine_[INVALID][SMI_AUTOAPPLY] = AUTOAPPLY_CHANGED;