--- trunk/RCS/lohnrechner.py 2005/01/31 11:32:22 32 +++ trunk/RCS/lohnrechner.py 2005/02/04 13:25:36 33 @@ -58,7 +58,7 @@ def SetupUI(self): self.root.resizable(NO, NO) - frame = Frame(root) + frame = Frame(self.root) frame.grid(padx=10, pady=10) # Steuern Ein/Ausgabe @@ -161,7 +161,7 @@ # Allgemeine UI Elemente buttons = Frame(frame) buttons.grid(row=9, column=2, columnspan=2) - Button(buttons, text="Quit", command=root.quit).pack(side=LEFT) + Button(buttons, text="Quit", command=self.root.quit).pack(side=LEFT) Button(buttons, text="Info", command=self.Info).pack(side=LEFT) Button(buttons, text="Berechnen", command=self.CalcOutput).pack(side=LEFT)