summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/projecttreewidget.h
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2010-02-25 15:15:41 +0100
committerKai Koehne <kai.koehne@nokia.com>2010-02-25 15:18:30 +0100
commit30dfae9007e3f77488a9f659a7e169ca47d191de (patch)
tree6c3bb1f4e8890cfedcdef1c96d62acc8319a3cc5 /src/plugins/projectexplorer/projecttreewidget.h
parent299ea32ab0e9c9212a68eb5930584e76d0045c1c (diff)
downloadqt-creator-30dfae9007e3f77488a9f659a7e169ca47d191de.tar.gz
Fix Project pane synchronization in case one opens first file via
Locator Commit 38924e386 makes sure that the Project node is selected after loading a new project, even when there is a current editor opened. Make sure that we actually only block the sync if no new file is opened. Done with mae. Reviewed-by: mae
Diffstat (limited to 'src/plugins/projectexplorer/projecttreewidget.h')
-rw-r--r--src/plugins/projectexplorer/projecttreewidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projecttreewidget.h b/src/plugins/projectexplorer/projecttreewidget.h
index 564a85de63..9c8e07fe60 100644
--- a/src/plugins/projectexplorer/projecttreewidget.h
+++ b/src/plugins/projectexplorer/projecttreewidget.h
@@ -89,7 +89,7 @@ private:
QModelIndex m_subIndex;
QString m_modelId;
bool m_autoSync;
- bool m_currentItemLocked;
+ Node *m_currentItemLocked;
friend class ProjectTreeWidgetFactory;
};