Commit 8001f6f0 authored by Edric Milaret's avatar Edric Milaret

smartlist: fix clear of search box not reseting filter

Change-Id: I8ad2600fb016347f8ecfce88af5232642ddcea12
Tuleap: #273
parent fe39094b
......@@ -529,6 +529,7 @@ CallWidget::on_ringContactLineEdit_returnPressed()
time_t currentTime;
::time(&currentTime);
cm->setLastUsed(currentTime);
ui->ringContactLineEdit->clear();
}
void
......@@ -634,7 +635,7 @@ CallWidget::slotAccountMessageReceived(const QMap<QString,QString> message,
}
void
CallWidget::on_ringContactLineEdit_textEdited(const QString& text)
CallWidget::on_ringContactLineEdit_textChanged(const QString& text)
{
RecentModel::instance().peopleProxy()->setFilterWildcard(text);
}
......
......@@ -77,7 +77,7 @@ private slots:
void on_sendButton_clicked();
void on_messageEdit_returnPressed();
void on_contactMethodComboBox_currentIndexChanged(const QString& number);
void on_ringContactLineEdit_textEdited(const QString& text);
void on_ringContactLineEdit_textChanged(const QString& text);
void on_imBackButton_clicked();
private slots:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment