1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00:00

LibGUI: Make ProcessChooser accept double clicks on rows as "Ok" click

This commit is contained in:
Nico Weber 2020-08-15 13:01:58 -04:00 committed by Andreas Kling
parent cd7b4e813f
commit 19ee853cd0
2 changed files with 12 additions and 3 deletions

View file

@ -42,6 +42,8 @@ public:
private:
ProcessChooser(const StringView& window_title = "Process Chooser", const StringView& button_label = "Select", const Gfx::Bitmap* window_icon = nullptr, GUI::Window* parent_window = nullptr);
void set_pid_from_index_and_close(const ModelIndex&);
pid_t m_pid { 0 };
String m_window_title;