mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:30:05 +00:00
Fix up custom map inputs, making it easier for others to use
This commit is contained in:
parent
c9ead60dd4
commit
fee00b737a
11 changed files with 425 additions and 65 deletions
|
|
@ -107,6 +107,10 @@ public:
|
|||
SCWX_SETTINGS_ENUM_VALIDATOR(scwx::util::ClockFormat,
|
||||
scwx::util::ClockFormatIterator(),
|
||||
scwx::util::GetClockFormatName));
|
||||
|
||||
customStyleUrl_.SetValidator(
|
||||
[](const std::string& value)
|
||||
{ return value.find("key=") == std::string::npos; });
|
||||
customStyleDrawLayer_.SetValidator([](const std::string& value)
|
||||
{ return !value.empty(); });
|
||||
defaultAlertAction_.SetValidator(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue