[ekiga] Fixed bug #594434.



commit 6324edc8a70c26c0f228c04fd30280a9eb5a6da5
Author: Damien Sandras <dsandras seconix com>
Date:   Sun Sep 13 18:06:28 2009 +0200

    Fixed bug #594434.
    
    Accounts were automatically active after editing them.

 lib/engine/components/opal/opal-account.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 4177af3..a3f238a 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -456,7 +456,8 @@ void Opal::Account::on_edit_form_submitted (bool submitted,
     password = new_password;
     timeout = new_timeout;
     enabled = new_enabled;
-    enable ();
+    if (enabled)
+      enable ();
 
     updated ();
     trigger_saving ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]