diff --git a/thermopi/surfaces/dial.py b/thermopi/surfaces/dial.py index c160171..04cd869 100644 --- a/thermopi/surfaces/dial.py +++ b/thermopi/surfaces/dial.py @@ -78,6 +78,7 @@ class Surface(pygame.Surface): self.quit = True if event.type == pygame.KEYDOWN: if event.key == pygame.K_ESCAPE: + self.running = False self.quit = True if event.type == pygame.MOUSEBUTTONDOWN: self.mouse_handler.active = True