X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Finputline.cpp;h=501ee605e41ff8f5f663c2fe57ccb2b4b1845a72;hp=94dc5e91b214f269489828cd0418d789ab181037;hb=55e0c20198a47b418496ecea0935472488c463e7;hpb=3c9e07c4829e02f138323a46d532bfbd47b79f99 diff --git a/src/uisupport/inputline.cpp b/src/uisupport/inputline.cpp index 94dc5e91..501ee605 100644 --- a/src/uisupport/inputline.cpp +++ b/src/uisupport/inputline.cpp @@ -222,8 +222,10 @@ void InputLine::on_textChanged(QString newText) { #ifdef Q_WS_MAC question.setWindowFlags(question.windowFlags() | Qt::Sheet); // Qt::Sheet is not ignored on other platforms as it should :/ #endif - if(question.exec() == QMessageBox::No) + if(question.exec() == QMessageBox::No) { + clear(); return; + } } foreach(QString line, lines) {