mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
feat: add stealth mode select step to setup wizard (#6104)
feat: add stealth mode select to setup wizard feat: enable stealth mode until user finishes setup wizard Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
3510158cd8
commit
f0f5c3bbe9
11 changed files with 157 additions and 7 deletions
|
@ -81,6 +81,15 @@ std::string AppConfig::get_hms_host()
|
|||
// #endif
|
||||
}
|
||||
|
||||
bool AppConfig::get_stealth_mode()
|
||||
{
|
||||
// always return true when user did not finish setup wizard yet
|
||||
if (!get_bool("firstguide","finish")) {
|
||||
return true;
|
||||
}
|
||||
return get_bool("stealth_mode");
|
||||
}
|
||||
|
||||
void AppConfig::reset()
|
||||
{
|
||||
m_storage.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue