From 6dd8736e93c6881677c4132307289cccb663fe00 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Fri, 9 Nov 2012 12:46:56 +0000 Subject: Clear out status message when setting a new one. We remember recent presence so this probably makes more sense - it means you immediately get a chance to type what you want with the dropdown showing recents. Change-Id: Ic042a863c37fc7f35d987aaf4f2dc040522116bb diff --git a/Swift/QtUI/QtStatusWidget.cpp b/Swift/QtUI/QtStatusWidget.cpp index 7c1c831..1899b71 100644 --- a/Swift/QtUI/QtStatusWidget.cpp +++ b/Swift/QtUI/QtStatusWidget.cpp @@ -199,11 +199,11 @@ void QtStatusWidget::handleClicked() { if (x + width > screenWidth) { x = screenWidth - width; } - foreach (StatusShow::Type type, allTypes_) { - if (statusEdit_->text() == P2QSTRING(statusShowTypeToFriendlyName(type))) { + //foreach (StatusShow::Type type, allTypes_) { + // if (statusEdit_->text() == P2QSTRING(statusShowTypeToFriendlyName(type))) { statusEdit_->setText(""); - } - } + // } + //} generateList(); height = menu_->sizeHintForRow(0) * menu_->count(); -- cgit v0.10.2-6-g49f6