|
|
@ -170,7 +170,7 @@ public: |
|
|
} else { |
|
|
} else { |
|
|
this->SetValue(static_cast<Type>(std::stoll(input))); |
|
|
this->SetValue(static_cast<Type>(std::stoll(input))); |
|
|
} |
|
|
} |
|
|
} catch (std::invalid_argument& e) { |
|
|
|
|
|
|
|
|
} catch (std::invalid_argument&) { |
|
|
this->SetValue(this->GetDefault()); |
|
|
this->SetValue(this->GetDefault()); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|