From 55e0c20198a47b418496ecea0935472488c463e7 Mon Sep 17 00:00:00 2001 From: Henning Rohlfs Date: Sat, 16 May 2009 13:32:10 +0200 Subject: [PATCH 1/1] fix denying a large paste --- src/uisupport/inputline.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.20.1