mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Hide profiles section if there is only one user profile
This commit is contained in:
parent
45fc00aad7
commit
c819d13523
@ -2343,6 +2343,11 @@ void QgisApp::refreshProfileMenu()
|
||||
userProfileManager()->loadUserProfile( name );
|
||||
} );
|
||||
}
|
||||
|
||||
if ( userProfileManager()->allProfiles().count() == 1 )
|
||||
{
|
||||
profileSection->setVisible( false );
|
||||
}
|
||||
}
|
||||
|
||||
void QgisApp::createProfileMenu()
|
||||
|
Loading…
x
Reference in New Issue
Block a user