Just another fix for name-selection.

This commit is contained in:
Florian Küpper committed 2013-12-23 14:47:19 +01:00
1 parent 9d73d6b532
commit cc2969cc31
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -466,7 +466,7 @@ namespace Vocaluxe.Base
if (!IsProfileIDValid(profileID)) if (!IsProfileIDValid(profileID))
return true; // this will prevent from saving dummy profiles to highscore db return true; // this will prevent from saving dummy profiles to highscore db
return !_Profiles[profileID].UserRole.HasFlag(EUserRole.TR_USERROLE_NORMAL); return _Profiles[profileID].UserRole <= EUserRole.TR_USERROLE_GUEST;
} }
public static bool IsActive(int profileID) public static bool IsActive(int profileID)
+1 -1
View File
@@ -618,7 +618,7 @@ namespace Vocaluxe.Screens
else else
_SelectSlides[_SelectSlideDuetPlayer[i]].Visible = false; _SelectSlides[_SelectSlideDuetPlayer[i]].Visible = false;
} }
_NameSelections[_NameSelection].UpdateList();
_ProfilesChanged = false; _ProfilesChanged = false;
_AvatarsChanged = false; _AvatarsChanged = false;
} }