From 31069e92f7c12d52512f6c592fab7af7f9b12668 Mon Sep 17 00:00:00 2001 From: jpbl <jpbl> Date: Tue, 27 Sep 2005 17:57:06 +0000 Subject: [PATCH] the OK button calls only if the line has a non-empty buffer --- src/gui/official/PhoneLine.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/official/PhoneLine.cpp b/src/gui/official/PhoneLine.cpp index a5af93ffd6..9ae54c812a 100644 --- a/src/gui/official/PhoneLine.cpp +++ b/src/gui/official/PhoneLine.cpp @@ -102,7 +102,9 @@ PhoneLine::sendKey(Qt::Key c) void PhoneLine::call() { - call(mBuffer); + if(mBuffer.size()) { + call(mBuffer); + } } void -- GitLab