Account Settings: Expand selective sync on show #3585
authorMarkus Goetz <markus@woboq.com>
Thu, 15 Oct 2015 15:27:38 +0000 (17:27 +0200)
committerMarkus Goetz <markus@woboq.com>
Thu, 15 Oct 2015 15:27:38 +0000 (17:27 +0200)
src/gui/accountsettings.cpp

index 65736afd391bc43a604435d07a37e58f5818d659..6dcf06064d926f7c192a5c69dde67cf9074e6f17 100644 (file)
@@ -606,6 +606,9 @@ bool AccountSettings::event(QEvent* e)
     if (e->type() == QEvent::Hide || e->type() == QEvent::Show) {
         _quotaInfo.setActive(isVisible());
     }
+    if (e->type() == QEvent::Show) {
+        ui->_folderList->setExpanded(_model->index(0, 0), true);
+    }
     return QWidget::event(e);
 }