Ticket #4609: gui_assure_correct_resolution.patch

File gui_assure_correct_resolution.patch, 392 bytes (added by lordhoto, 15 years ago)
  • gui/object.cpp

    diff --git a/gui/object.cpp b/gui/object.cpp
    index f24ce09..ffd9b6d 100644
    a b GuiObject::~GuiObject() {  
    4242
    4343void GuiObject::reflowLayout() {
    4444        if (!_name.empty()) {
     45                g_gui.checkScreenChange();
     46
    4547                if (!g_gui.xmlEval()->getWidgetData(_name, _x, _y, _w, _h)) {
    4648                        error("Could not load widget position for '%s'", _name.c_str());
    4749                }