X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Finputline.cpp;h=501ee605e41ff8f5f663c2fe57ccb2b4b1845a72;hb=d4f83534f995dcc59ee50c57bb18521452310ba0;hp=94dc5e91b214f269489828cd0418d789ab181037;hpb=e1997b582c3ad73c4ff02f2b0167defb864db0a6;p=quassel.git 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) {