🐛 Made dialog window actually disappear when clicking "ok"

main
Isabell Pflug 1 year ago
parent f1dd878ac8
commit 4c07866eb9

@ -114,7 +114,7 @@ QMap<QPair<QString, QDateTime>, int> MainWindow::newEntry() {
// Verbinden des Button-Klicks mit einem Slot
entryDial.connect(button, &QPushButton::clicked, &entryDial, [&]() {
confirmed_name = lineEdit->text();
return;
entryDial.done(0);
});
// Erstellen des Layouts

Loading…
Cancel
Save