diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-01-30 15:14:38 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-01-30 15:14:38 (GMT) |
commit | 6209bdcb80b6fb091bddd82b551435523e76a360 (patch) | |
tree | 15ca30b18ce19430930f137928af53c25a87c23a /Swift/Controllers/ProfileController.cpp | |
parent | b897bac235a95f9c4654b31d101779bd0cc8f72f (diff) | |
download | swift-6209bdcb80b6fb091bddd82b551435523e76a360.zip swift-6209bdcb80b6fb091bddd82b551435523e76a360.tar.bz2 |
Fixed corner case of profile controller.
Diffstat (limited to 'Swift/Controllers/ProfileController.cpp')
-rw-r--r-- | Swift/Controllers/ProfileController.cpp | 3 |
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(); } |