This commit is contained in:
Michael S. 2023-11-21 20:57:28 +01:00
parent 80054cf54a
commit 292b44ea57
2 changed files with 5 additions and 2 deletions

View file

@ -124,7 +124,9 @@ class eigene_dialoge:
w_editnotiz.destroy() w_editnotiz.destroy()
def ok(): def ok():
global ret 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() w_editnotiz.destroy()
l_wttitle = tk.Label(w_editnotiz, text="Titel:") l_wttitle = tk.Label(w_editnotiz, text="Titel:")
@ -146,7 +148,7 @@ class eigene_dialoge:
l_button_save.pack(fill="x") l_button_save.pack(fill="x")
l_button_cancel.pack(fill="x") l_button_cancel.pack(fill="x")
w_editnotiz.mainloop() w_editnotiz.mainloop()
return ret return ret.get()
def notiz_auswahl(): def notiz_auswahl():
def done(): def done():
global ret global ret

1
notizen_w/n/(.txt Normal file
View file

@ -0,0 +1 @@
D