1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 13:15:07 +00:00

FileManager: Make the tree view follow the directory view navigations.

This commit is contained in:
Andreas Kling 2019-03-30 03:27:25 +01:00
parent f10e0d0546
commit 2c6a597d77
10 changed files with 72 additions and 3 deletions

View file

@ -14,10 +14,9 @@ public:
GModel* model() { return m_model.ptr(); }
const GModel* model() const { return m_model.ptr(); }
void scroll_into_view(const GModelIndex&, Orientation);
virtual bool accepts_focus() const override { return true; }
virtual void did_update_model();
virtual void did_update_selection();
Function<void(const GModelNotification&)> on_model_notification;