~nataliabidart/ubuntuone-control-panel/fix-setup-for-qt

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/gui/qt/folders.py

- Reload the folder list after subscription/unsubscription, so the icon are properly updated (LP: #800705).

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
            # user accepted, merge the folder content
244
244
            yield self.backend.change_volume_settings(volume_id,
245
245
                                                {'subscribed': subscribed})
 
246
            self.load()
246
247
        else:
247
248
            # restore old value
248
249
            old = UNCHECKED if subscribed else CHECKED