Profile: ensure a profile is invalid if the GVAS underneath is too.
This commit is contained in:
parent
7257b9865c
commit
fb6246cff7
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ Profile::Profile(Containers::StringView path):
|
||||||
{
|
{
|
||||||
if(!_profile.valid()) {
|
if(!_profile.valid()) {
|
||||||
_lastError = _profile.lastError();
|
_lastError = _profile.lastError();
|
||||||
|
_valid = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue