1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:47:35 +00:00

LibGUI: Use the new GUI::Tray widget in GUI::FilePicker

This removes all the extra entries from the keyboard focus chain and
makes FilePicker actually pleasant to navigate with the keyboard.
This commit is contained in:
Andreas Kling 2021-10-21 19:33:08 +02:00
parent ae2579d8b5
commit c1576aca11
3 changed files with 16 additions and 29 deletions

View file

@ -61,7 +61,7 @@ private:
struct CommonLocationButton {
String path;
Button& button;
size_t tray_item_index { 0 };
};
RefPtr<MultiView> m_view;