Skip to content
Permalink
Browse files

Hide profiles section if there is only one user profile

  • Loading branch information
NathanW2 committed Jul 30, 2017
1 parent 45fc00a commit c819d13523e4cfd143b67499109d0c7f076a03f7
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/app/qgisapp.cpp
@@ -2343,6 +2343,11 @@ void QgisApp::refreshProfileMenu()
userProfileManager()->loadUserProfile( name );
} );
}

if ( userProfileManager()->allProfiles().count() == 1 )
{
profileSection->setVisible( false );
}
}

void QgisApp::createProfileMenu()

0 comments on commit c819d13

Please sign in to comment.
You can’t perform that action at this time.