From 89d74b4784e41eb2cf3cf4494d45844d61045fb8 Mon Sep 17 00:00:00 2001 From: Lothar Serra Mari Date: Sun, 17 May 2020 21:53:28 +0200 Subject: [PATCH] GUI: Improve error message regarding errors while loading widget positions Thank you for the suggestion, @trembyle! --- gui/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/object.cpp b/gui/object.cpp index e9d2c4b19a4..cc1ac4757da 100644 --- a/gui/object.cpp +++ b/gui/object.cpp @@ -43,7 +43,7 @@ void GuiObject::reflowLayout() { int16 w, h; if (!g_gui.xmlEval()->getWidgetData(_name, _x, _y, w, h) || w == -1 || h == -1) { - error("Could not load widget position for '%s'", _name.c_str()); + error("Unable to load widget position for '%s'. Please check your theme files", _name.c_str()); } _w = w; _h = h;