Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit ea0f3b1

Browse files
author
Monte Goulding
authored
Merge pull request #1992 from livecode/bugfix-21430
Ensure arrowKeys work correctly when editing names in PB
2 parents 55dc399 + 7cd1154 commit ea0f3b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Toolset/palettes/project browser/revprojectbrowserbehavior.livecodescript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ on arrowKey pDirection
66
put the dvHilitedRows of group "objectList" of me into tHilitedRow
77

88
-- up and down are handled by the data view
9-
if the number of items of tHilitedRow is 1 then
9+
if the number of items of tHilitedRow is 1 and not (the dvIsFieldEditor of the target) then
1010
switch pDirection
1111
case "left"
1212
if getRowExpanded(getAbsoluteRow(tHilitedRow)) then
1313
toggleGroup tHilitedRow, false
1414
end if
1515
break
1616
case "right"
17-
if not getRowExpanded(getAbsoluteRow(tHilitedRow)) then
17+
if not getRowExpanded(getAbsoluteRow(tHilitedRow)) then
1818
toggleGroup tHilitedRow, true
1919
end if
2020
break

notes/bugfix-21430.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure arrowKeys work correctly when editing a control's name in the Project Browser

0 commit comments

Comments
 (0)