mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 03:19:56 +00:00
Sidebar - Fixed removed categories not dissapearing
Sidebar - Fixed exception when creating a category with an already in use name
This commit is contained in:
1 parent
6a12286783
commit
d4bd44b504
10 files changed
+193
-144
No files matched your search
@@ -20,9 +20,11 @@ public class ProfileCategory : CorePropertyChanged, IStorageModel
|
||||
/// Creates a new instance of the <see cref="ProfileCategory" /> class
|
||||
/// </summary>
|
||||
/// <param name="name">The name of the category</param>
|
||||
internal ProfileCategory(string name)
|
||||
/// <param name="order">The order of the category</param>
|
||||
internal ProfileCategory(string name, int order)
|
||||
{
|
||||
_name = name;
|
||||
_order = order;
|
||||
Entity = new ProfileCategoryEntity();
|
||||
ProfileConfigurations = new ReadOnlyCollection<ProfileConfiguration>(_profileConfigurations);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user