X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Feditor%2Ff_main.pas;h=e2635344a0977677c10d8bf4e71ec0a2470fcfb9;hb=3ea052bd6b0f429986d2ebae74d04a01875ac9fc;hp=d543e3fdb5048e130d0def4a71730acb1db1ff47;hpb=629df7b7167e490fee02d458ce229a3a68ff22c6;p=d2df-editor.git diff --git a/src/editor/f_main.pas b/src/editor/f_main.pas index d543e3f..e263534 100644 --- a/src/editor/f_main.pas +++ b/src/editor/f_main.pas @@ -1482,7 +1482,7 @@ begin 3: str := _lc[I_PROP_TR_SHOT_AIM_3]; else str := _lc[I_PROP_TR_SHOT_AIM_0]; end; - with ItemProps[InsertRow(_lc[I_PROP_TR_SHOT_AIM], str, True)-1] do + with ItemProps[InsertRow(_lc[I_PROP_TR_SHOT_AIM], str, True)] do begin EditStyle := esPickList; ReadOnly := True;