GUI: Improve error message regarding errors while loading widget positions
Thank you for the suggestion, @trembyle!
This commit is contained in:
parent
90ac129cdb
commit
89d74b4784
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue