abort the timeout when a nummernschalter_active event occurs in DialingState

This commit is contained in:
Frederic 2015-05-20 00:01:45 +02:00
parent 9d234c025f
commit 40eef9aa66

View file

@ -188,6 +188,7 @@ class DialingState(AbstractState):
return IdleState return IdleState
def on_nummernschalter_active(self): def on_nummernschalter_active(self):
self._controller.abort_timeout()
if self.__dial_tone: if self.__dial_tone:
self._controller.get_phone().stop_playing() self._controller.get_phone().stop_playing()