Skip to content
Snippets Groups Projects
Commit 31069e92 authored by jpbl's avatar jpbl
Browse files

the OK button calls only if the line has a non-empty buffer

parent 9465a5e9
No related branches found
No related tags found
No related merge requests found
...@@ -102,8 +102,10 @@ PhoneLine::sendKey(Qt::Key c) ...@@ -102,8 +102,10 @@ PhoneLine::sendKey(Qt::Key c)
void void
PhoneLine::call() PhoneLine::call()
{ {
if(mBuffer.size()) {
call(mBuffer); call(mBuffer);
} }
}
void void
PhoneLine::call(const std::string &to) PhoneLine::call(const std::string &to)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment