aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Nunes <philippe.nunes@linux.intel.com>2012-06-25 16:37:57 +0200
committerDenis Kenzior <denkenz@gmail.com>2012-06-22 03:13:48 -0500
commit110f1483154d221cd18ebab8a5f5547c40c23985 (patch)
treee35f7151092df9ec820fb71aaf71e469d52de2f7
parent6de786994b31c80d7cc05bc7eb323b6d7cf053b3 (diff)
downloadphonesim-110f1483154d221cd18ebab8a5f5547c40c23985.tar.gz
control: Fix empty sender checking
-rw-r--r--src/control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control.cpp b/src/control.cpp
index ee1e7d8..27910c2 100644
--- a/src/control.cpp
+++ b/src/control.cpp
@@ -339,7 +339,7 @@ void ControlWidget::sendCBM()
void ControlWidget::sendSMSMessage()
{
- if (ui->leSMSClass->text().isEmpty()) {
+ if (ui->leMessageSender->text().isEmpty()) {
p->warning(tr("Invalid Sender"),
tr("Sender must not be empty"));
return;