Revision 97edb52f trunk/Pithos.Client.WPF/FileProperties/Permission.cs

b/trunk/Pithos.Client.WPF/FileProperties/Permission.cs
64 64
            get { return _read; }
65 65
            set
66 66
            {
67
                _read = value;
68
                if (_read)
69
                    Write = false;
70
                NotifyOfPropertyChange(()=>Read);
67
                _read = value;                
68
                _write = !value;
69
                NotifyOfPropertyChange(() => Write);
70
                NotifyOfPropertyChange(() => Read);
71
                NotifyOfPropertyChange(() => Value);
71 72
            }
72 73
        }
73 74

  
......
79 80
            set
80 81
            {
81 82
                _write = value;
82
                if (_write)
83
                    Read = false;
83
                _read = !value;
84 84
                NotifyOfPropertyChange(()=>Write);
85
                NotifyOfPropertyChange(() => Read);
86
                NotifyOfPropertyChange(() => Value);
85 87
            }
86 88
        }
87 89

  

Also available in: Unified diff