examples/options: deactivate the key detector

This commit is contained in:
Kazhnuz 2019-04-15 18:50:09 +02:00
parent db4370803a
commit 62358ded31

View file

@ -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