closure issue oooooops

This commit is contained in:
Mylloon 2023-06-01 21:08:10 +02:00
parent b7cdffd86e
commit 9981d75651
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -122,8 +122,8 @@ class GUI:
borderwidth=0, borderwidth=0,
bg="SandyBrown", bg="SandyBrown",
activebackground="Goldenrod", activebackground="Goldenrod",
command=lambda: self._show_info( command=lambda e=error: self._show_info(
str(error.warning_message), str(error.warning_content) str(e.warning_message), str(e.warning_content)
), ),
).grid(column=0, row=idx, columnspan=self.columnspan) ).grid(column=0, row=idx, columnspan=self.columnspan)
idx += 1 idx += 1