Skip to content

Commit

Permalink
Fix crash when creating/loading projects. Fixes #7931
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Jun 15, 2013
1 parent 6c2689e commit fec833f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsbrowsermodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ void QgsBrowserModel::updateProjectHome()

delete mProjectHome;

emit layoutAboutToBeChanged();
mProjectHome = home.isNull() ? 0 : new QgsDirectoryItem( NULL, tr( "Project home" ), home );
if ( mProjectHome )
{
Expand Down

0 comments on commit fec833f

Please sign in to comment.