Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Update qtkontakt.py
Browse files Browse the repository at this point in the history
changes from @Floskinner  added
  • Loading branch information
IAmWebSA committed Jun 10, 2021
1 parent b84ca51 commit 7e719ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/gui/qtkontakt.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,7 @@ def __check_werte(self, kontaktdaten: dict):
"""

kontakt_tools.check_kontaktdaten(kontaktdaten, self.modus)

if self.modus == Modus.TERMIN_SUCHEN:
kontakt_tools.validate_kontaktdaten(kontaktdaten)
elif self.modus == Modus.CODE_GENERIEREN:
kontakt_tools.validate_kontaktdaten(kontaktdaten)
kontakt_tools.validate_kontaktdaten(kontaktdaten)


def __lade_alle_werte(self):
Expand Down Expand Up @@ -391,6 +387,10 @@ def __reset_kontakdaten(self):
# Telefon wieder mit Prefix befüllen
self.i_telefon.setText("+49")

# set dummy code on reset
if self.modus == Modus.CODE_GENERIEREN:
self.i_code_impfzentren.setText("XXXXXXXXXXXX")

def __get_impfzentren_plz(self, plzList : list) -> str:
"""
Erstellt ein String aus einer Liste an PLZ für die GUI
Expand Down

0 comments on commit 7e719ec

Please sign in to comment.