Maarten van den Berg преди 6 години
родител
ревизия
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