Ticket #3206: t3206_proof_of_concept.patch

File t3206_proof_of_concept.patch, 653 bytes (added by elexis, 9 years ago)

Sander's hypothesis is correct. The OnSimulationUpdate event arrives at the message window instead of session.xml. I dont know (yet) how to forward this to the correct window.

  • binaries/data/mods/public/gui/msgbox/msgbox.xml

     
    99    <object name="mbLeaveHotkey" hotkey="leave" />
    1010    <object name="mbMain"
    1111            style="ModernDialog"
    1212            type="image"
    1313    >
     14   
     15    <action on="SimulationUpdate">
     16        error("Forward this please to session.xml");
     17    </action>
     18   
    1419    <object name="mbTitleBar"
    1520            style="ModernLabelText"
    1621            type="text"
    1722            size="50%-128 -18 50%+128 14"
    1823    />