summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-01-30 15:14:38 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-01-30 15:14:38 (GMT)
commit6209bdcb80b6fb091bddd82b551435523e76a360 (patch)
tree15ca30b18ce19430930f137928af53c25a87c23a /Swift/Controllers
parentb897bac235a95f9c4654b31d101779bd0cc8f72f (diff)
downloadswift-6209bdcb80b6fb091bddd82b551435523e76a360.zip
swift-6209bdcb80b6fb091bddd82b551435523e76a360.tar.bz2
Fixed corner case of profile controller.
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/ProfileController.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/Controllers/ProfileController.cpp b/Swift/Controllers/ProfileController.cpp
index 9667d89..65443e6 100644
--- a/Swift/Controllers/ProfileController.cpp
+++ b/Swift/Controllers/ProfileController.cpp
@@ -76,6 +76,9 @@ void ProfileController::handleOwnVCardChanged(VCard::ref vcard) {
void ProfileController::setAvailable(bool b) {
available = b;
+ if (!available) {
+ pendingSetVCardRequest.reset();
+ }
updateDialogStatus();
}