From 292b44ea570faa714669d3007d7bc92bae02f70d Mon Sep 17 00:00:00 2001 From: megamichi Date: Tue, 21 Nov 2023 20:57:28 +0100 Subject: [PATCH] AMMMM --- notizen_w/n.py | 6 ++++-- notizen_w/n/(.txt | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 notizen_w/n/(.txt diff --git a/notizen_w/n.py b/notizen_w/n.py index cbea039..320f446 100644 --- a/notizen_w/n.py +++ b/notizen_w/n.py @@ -124,7 +124,9 @@ class eigene_dialoge: w_editnotiz.destroy() def ok(): global ret - ret = [l_wtitle.get(),l_winhalt.get()] + + ret = tk.StringVar(w_editnotiz) + ret.set([l_wtitle.get(),l_winhalt.get()]) w_editnotiz.destroy() l_wttitle = tk.Label(w_editnotiz, text="Titel:") @@ -146,7 +148,7 @@ class eigene_dialoge: l_button_save.pack(fill="x") l_button_cancel.pack(fill="x") w_editnotiz.mainloop() - return ret + return ret.get() def notiz_auswahl(): def done(): global ret diff --git a/notizen_w/n/(.txt b/notizen_w/n/(.txt new file mode 100644 index 0000000..02358d2 --- /dev/null +++ b/notizen_w/n/(.txt @@ -0,0 +1 @@ +D \ No newline at end of file