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

Inspector: Reopen picker UI after selecting Inspector

This commit is contained in:
crpz1 2022-10-21 01:59:47 +11:00 committed by Linus Groh
parent 7b05f2c4d6
commit 30dc304429

View file

@ -66,7 +66,10 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
if (pid == getpid()) {
GUI::MessageBox::show(window, "Cannot inspect Inspector itself!"sv, "Error"sv, GUI::MessageBox::Type::Error);
return 1;
if (gui_mode)
goto choose_pid;
else
return 1;
}
RemoteProcess remote_process(pid);