Commit 93bb5081 authored by Eike Ziller's avatar Eike Ziller

Fix bread crumb directly after switching to file system view

We need to set up all connections before syncing

Change-Id: Id1da237b6c3b5f27006ec4cd4a4dd47689c5abd9
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 20491b51
......@@ -186,7 +186,6 @@ FolderNavigationWidget::FolderNavigationWidget(QWidget *parent) : QWidget(parent
m_toggleSync->setIcon(Utils::Icons::LINK.icon());
m_toggleSync->setCheckable(true);
m_toggleSync->setToolTip(tr("Synchronize with Editor"));
setAutoSynchronization(true);
// connections
connect(m_listView, &QAbstractItemView::activated,
......@@ -223,6 +222,8 @@ FolderNavigationWidget::FolderNavigationWidget(QWidget *parent) : QWidget(parent
if (!isChildOf(fileIndex, rootIndex))
selectFile(directory);
});
setAutoSynchronization(true);
}
void FolderNavigationWidget::toggleAutoSynchronization()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment