Maarten van den Berg лет назад: 6
Родитель
Сommit
fe3334fb93
2 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      piket_client/gui.py
  2. BIN
      piket_client/sounds/plop.wav

+ 1 - 1
piket_client/gui.py

@@ -69,8 +69,8 @@ class NameButton(QPushButton):
69 69
     def process_click(self) -> None:
70 70
         """ Process a click on this button. """
71 71
         if self.person.add_consumption(self.active_id):
72
-            self.setText(self.current_label)
73 72
             plop()
73
+            self.setText(self.current_label)
74 74
         else:
75 75
             print("Jantoeternuitje, kapot")
76 76
 

BIN
piket_client/sounds/plop.wav