Commit e987655b authored by Guanghan Song's avatar Guanghan Song
Browse files

Set default value for wanted type in D22AutoConfig

parent f9ac124f
......@@ -175,6 +175,11 @@ bool AutoConfig::initApplication() {
type.set(i, autoConfigResponse.types(i));
}
// Set default value.
if (size > 0) {
wantedType = type.get(0);
}
// Application initialized
initialized = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment