examples/options: deactivate the key detector
This commit is contained in:
parent
db4370803a
commit
62358ded31
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ function OptionsMenu:keypressed( key )
|
||||||
if (self.keyDetector.isActive) then
|
if (self.keyDetector.isActive) then
|
||||||
self.keyDetector.widget:receiveKey( key )
|
self.keyDetector.widget:receiveKey( key )
|
||||||
self.menusystem:activate()
|
self.menusystem:activate()
|
||||||
|
self.keyDetector.isActive = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue