Skip to content

Commit

Permalink
smooth out loading window transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jun 4, 2017
1 parent 9e31974 commit 09fb85f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ void Profile::HandleStatsPrefixChange(RString dir, bool require_signature)
bool need_to_create_file= false;
if(IsAFile(dir + PROFILEMAN->GetStatsPrefix() + STATS_XML))
{
LoadAllFromDir(dir, require_signature);
LoadAllFromDir(dir, require_signature, NULL);
}
else
{
Expand Down
2 changes: 2 additions & 0 deletions src/ProfileManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ static void add_category_to_global_list(vector<DirAndProfile>& cat)

void ProfileManager::RefreshLocalProfilesFromDisk(LoadingWindow* ld)
{
if (ld)
ld->SetText("Loading Profiles");
UnloadAllLocalProfiles();

vector<RString> profile_ids;
Expand Down

0 comments on commit 09fb85f

Please sign in to comment.