Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix Project Home browser item doesn't show on first save
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/core/qgsbrowsermodel.cpp
|
@@ -177,7 +177,7 @@ void QgsBrowserModel::initialize() |
|
|
if ( ! mInitialized ) |
|
|
{ |
|
|
connect( QgsProject::instance(), &QgsProject::readProject, this, &QgsBrowserModel::updateProjectHome ); |
|
|
connect( QgsProject::instance(), &QgsProject::writeProject, this, &QgsBrowserModel::updateProjectHome ); |
|
|
connect( QgsProject::instance(), &QgsProject::projectSaved, this, &QgsBrowserModel::updateProjectHome ); |
|
|
addRootItems(); |
|
|
mInitialized = true; |
|
|
} |
|
|