Explorar el Código

Earlier plop feedback

Maarten van den Berg %!s(int64=6) %!d(string=hace) años
padre
commit
fe3334fb93
Se han modificado 2 ficheros con 1 adiciones y 1 borrados
  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