Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7913


Ignore:
Timestamp:
Feb 19, 2011, 4:25:52 PM (14 years ago)
Author:
landauf
Message:

fixed crash when pressing 'enter' in a menu (why does no one notice stuff like this?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified code/trunk/data/gui/scripts/GUITools.lua

    r7726 r7913  
    215215
    216216    --enter
    217     if code == "28" then
     217    if code == "28" and P.index >= 0 then
    218218        local item = list[P.index+1]
    219219        local child = item["button"]
Note: See TracChangeset for help on using the changeset viewer.