[gnome-contacts] Make sure saving is unset even on error
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Make sure saving is unset even on error
- Date: Wed, 1 Feb 2012 11:34:35 +0000 (UTC)
commit 7b36456bf5a74e666a91fa4527d2662e02936907
Author: Alexander Larsson <alexl redhat com>
Date: Wed Feb 1 12:34:09 2012 +0100
Make sure saving is unset even on error
src/contacts-contact-pane.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 7ebad7f..022c84e 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -407,8 +407,8 @@ public abstract class Contacts.FieldSet : Grid {
(obj, result) => {
try {
var contact = obj as Contact;
- contact.set_persona_property.end (result);
saving = false;
+ contact.set_persona_property.end (result);
} catch (Error e2) {
App.app.show_message (e2.message);
refresh_from_persona ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]