Commits

Vadim Savchuk committed 9a98014

EXT-8357 FIXED ESC key sometimes failing to de-focus the sidebar.

I've found out that the only case when pressing ESC doesn't transfer focus from side tray to game area is
when a flat list view (people, groups, teleport history, etc) is focused.
So, I fixed LLFlatListView to handle pressing ESC as expected.

Reviewed by Sergey Litovchuk at https://codereview.productengine.com/secondlife/r/862/

  • Participants
  • Parent commits d929400
  • Branches product-engine

Comments (0)

Files changed (1)

indra/llui/llflatlistview.cpp

 			}
 			break;
 		}
+		case KEY_ESCAPE:
+		{
+			if (mask == MASK_NONE)
+			{
+				setFocus(FALSE); // pass focus to the game area (EXT-8357)
+			}
+			break;
+		}
 		default:
 			break;
 	}