mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 23:05:08 +00:00
GDirectoryModel: No need to clear the selected index in open()
Now that the view manages selection instead of the model, it's not something GDirectoryModel needs to worry about anymore.
This commit is contained in:
parent
9c1fa0bd51
commit
55bae788f0
1 changed files with 0 additions and 1 deletions
|
@ -349,5 +349,4 @@ void GDirectoryModel::open(const StringView& a_path)
|
|||
ASSERT(rc >= 0);
|
||||
};
|
||||
update();
|
||||
set_selected_index(index(0, 0));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue