Hide profiles section if there is only one user profile

This commit is contained in:
Nathan Woodrow 2017-07-30 21:02:13 +10:00
parent 45fc00aad7
commit c819d13523

View File

@ -2343,6 +2343,11 @@ void QgisApp::refreshProfileMenu()
userProfileManager()->loadUserProfile( name );
} );
}
if ( userProfileManager()->allProfiles().count() == 1 )
{
profileSection->setVisible( false );
}
}
void QgisApp::createProfileMenu()