smartpanel : delete ring account from the panel

Change-Id: Ie40094e31cfb975ea7f518f068b6c38eb5504e6b
Tuleap: #1246
diff --git a/AccountListItem.h b/AccountListItem.h
index 022c953..b8a46da 100644
--- a/AccountListItem.h
+++ b/AccountListItem.h
@@ -37,20 +37,21 @@
     property bool _isSelected {

         void set(bool value) {

             isSelected_ = value;

-            NotifyPropertyChanged("_isSelected");

+            if (!_disconnected)

+                NotifyPropertyChanged("_isSelected");

         }

         bool get() {

             return isSelected_;

         }

     }

     property bool _editionMode;

+    property bool _disconnected;

 

 protected:

     void NotifyPropertyChanged(String^ propertyName);

 

 private:

     bool isSelected_;

-

 };

 }

 }