BUG correction: trap when idx theme out of bounds when not found in menumode

Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
This commit is contained in:
Vincent-FK 2020-03-28 10:00:04 +01:00
parent 115641c0e9
commit 21ff820179

View File

@ -268,6 +268,7 @@ bool Configuration::importCurrentLayout(std::string folder, std::string file, bo
break;
}
else{
index = 0;
}
}
}