diff --git a/include/settings/parameters.h b/include/settings/parameters.h index 7132442a53..19c7a26812 100644 --- a/include/settings/parameters.h +++ b/include/settings/parameters.h @@ -357,12 +357,12 @@ public: if( std::is_same::value ) { if( OPT optval = aSettings->GetJson( m_path ) ) - return *optval == m_default; + return *optval == m_getter(); } else { if( OPT optval = aSettings->Get( m_path ) ) - return *optval == m_default; + return *optval == m_getter(); } // Not in file