From d584f91e2a752b4db576d23f5940073e79a74eef Mon Sep 17 00:00:00 2001 From: derwin12 <4643499+derwin12@users.noreply.github.com> Date: Sat, 18 Jan 2025 10:10:33 -0500 Subject: [PATCH] Add warnings to inform Visualiser issues #5111 --- xLights/ControllerModelDialog.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xLights/ControllerModelDialog.cpp b/xLights/ControllerModelDialog.cpp index 0053761e62..6d832dcaeb 100644 --- a/xLights/ControllerModelDialog.cpp +++ b/xLights/ControllerModelDialog.cpp @@ -2186,11 +2186,17 @@ void ControllerModelDialog::ReloadModels() sh += ", "; sh += it; } - check += "WARN: " + it.second->Name() + " is shadowed by " + sh + ".\n "; + check += "WARN: " + it.second->Name() + " is shadowed by " + sh + ".\n"; } } } } + if (!_autoLayout) { + check += "WARN: Auto Layout not set. Some functionality disabled.\n"; + } + if (!_controller->IsAutoSize()) { + check += "WARN: Auto Size not set. Some functionality disabled.\n"; + } TextCtrl_Check->SetValue(check);