Skip to content

Commit

Permalink
Fix crash on startup in certain circumstances
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Jul 6, 2020
1 parent 66f72cd commit c5a79a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -3098,6 +3098,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 c5a79a2

Please sign in to comment.