diff --git a/ThinkPink/mainwindow.cpp b/ThinkPink/mainwindow.cpp index 99d0113..1e85c32 100644 --- a/ThinkPink/mainwindow.cpp +++ b/ThinkPink/mainwindow.cpp @@ -114,7 +114,7 @@ QMap, 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