mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
LibGUI: Expand GModelIndex a bit, adding internal data and model pointers.
This will be useful for implementing more complicated models.
This commit is contained in:
parent
12ec55ee74
commit
d02238af48
10 changed files with 94 additions and 34 deletions
|
@ -282,7 +282,7 @@ void DirectoryModel::open(const String& a_path)
|
|||
closedir(dirp);
|
||||
m_path = path;
|
||||
update();
|
||||
set_selected_index({ 0, 0 });
|
||||
set_selected_index(index(0, 0));
|
||||
}
|
||||
|
||||
void DirectoryModel::activate(const GModelIndex& index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue