mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
Inspector: Reopen picker UI after selecting Inspector
This commit is contained in:
parent
7b05f2c4d6
commit
30dc304429
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue