mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 20:29:42 +00:00
ProcessManager: Make the toolbar actions work again.
We can't grab at the ProcessTableModel directly anymore since we have a sorting proxy model in the middle now.
This commit is contained in:
@@ -199,10 +199,3 @@ void ProcessTableModel::update()
|
||||
|
||||
did_update();
|
||||
}
|
||||
|
||||
pid_t ProcessTableModel::selected_pid() const
|
||||
{
|
||||
if (!selected_index().is_valid())
|
||||
return -1;
|
||||
return m_pids[selected_index().row()];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user