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:
Andreas Kling 2019-09-07 20:00:45 +02:00
parent 9c1fa0bd51
commit 55bae788f0
Notes: sideshowbarker 2024-07-19 12:13:38 +09:00

View file

@ -349,5 +349,4 @@ void GDirectoryModel::open(const StringView& a_path)
ASSERT(rc >= 0);
};
update();
set_selected_index(index(0, 0));
}