mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +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:
@@ -349,5 +349,4 @@ void GDirectoryModel::open(const StringView& a_path)
|
||||
ASSERT(rc >= 0);
|
||||
};
|
||||
update();
|
||||
set_selected_index(index(0, 0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user