Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix crash on startup in certain circumstances
Fixes #37603
Fixes #34603
  • Loading branch information
nyalldawson committed Jul 6, 2020
1 parent b883c14 commit a7d3079
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -3103,6 +3103,9 @@ void QgisApp::createMenus()

void QgisApp::refreshProfileMenu()
{
if ( !mConfigMenu )
return;

mConfigMenu->clear();
QgsUserProfile *profile = userProfileManager()->userProfile();
QString activeName = profile->name();
Expand Down

0 comments on commit a7d3079

Please sign in to comment.