Skip to content
  • Timothée Giet's avatar
    core, improve GCDialog closing behavior · 78dca836
    Timothée Giet authored
    now when closing a GCDialog with the cross or the esc key,
    if there's a button2 (typically a "no" answer), it clicks that button
    else if there's only a button1 (typically an "ok" button), it clicks that button,
    else if there's no button it just closes as before
    78dca836