Skip to content

Commit a10ce26

Browse files
committed
don't use keybindings that are only available in the beta
1 parent a88b27d commit a10ce26

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

gui/rename.lua

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ function Rename:init(info)
355355
},
356356
widgets.HotkeyLabel{
357357
frame={b=3, l=0},
358-
key='SECONDSCROLL_UP',
358+
--key='SECONDSCROLL_UP', -- use when this is available in mainline DF
359+
key='STRING_A045',
359360
label='Prev component',
360361
on_activate=function()
361362
local clist = self.subviews.component_list
@@ -366,7 +367,8 @@ function Rename:init(info)
366367
},
367368
widgets.HotkeyLabel{
368369
frame={b=2, l=0},
369-
key='SECONDSCROLL_DOWN',
370+
-- key='SECONDSCROLL_DOWN', -- use when this is available in mainline DF
371+
key='STRING_A043',
370372
label='Next component',
371373
on_activate=function()
372374
local clist = self.subviews.component_list
@@ -426,7 +428,8 @@ function Rename:init(info)
426428
view_id='search',
427429
frame={t=0, l=22},
428430
label_text='Search: ',
429-
ignore_keys={'SECONDSCROLL_DOWN', 'SECONDSCROLL_UP'}
431+
-- ignore_keys={'SECONDSCROLL_DOWN', 'SECONDSCROLL_UP'}
432+
ignore_keys={'STRING_A043', 'STRING_A045'},
430433
},
431434
widgets.CycleHotkeyLabel{
432435
view_id='sort_english',

0 commit comments

Comments
 (0)