mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FEATURE][EXPERIMENTAL] Конструктор копирования у OptionalView
This commit is contained in:
parent
8b8ef665ef
commit
5835676b7c
1 changed files with 6 additions and 0 deletions
|
@ -111,4 +111,10 @@ public OptionalView(ClientProfile profile)
|
|||
if(f.mark) enable(f);
|
||||
}
|
||||
}
|
||||
public OptionalView(OptionalView view)
|
||||
{
|
||||
this.enabled = new HashSet<>(view.enabled);
|
||||
this.dependenciesCountMap = new HashMap<>(view.dependenciesCountMap);
|
||||
this.all = view.all;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue