mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:08:10 +00:00
HackStudio: Close the debug tab when debugged program exits
This commit is contained in:
parent
a3367cf4fa
commit
f0cbaf453c
2 changed files with 3 additions and 0 deletions
|
@ -631,6 +631,8 @@ int main(int argc, char** argv)
|
|||
},
|
||||
[&]() {
|
||||
dbg() << "Program exited";
|
||||
debug_info_widget.program_stopped();
|
||||
hide_action_tabs();
|
||||
Core::EventLoop::main().post_event(*g_window, make<Core::DeferredInvocationEvent>([=](auto&) {
|
||||
GUI::MessageBox::show("Program Exited", "Debugger", GUI::MessageBox::Type::Information, GUI::MessageBox::InputType::OK, g_window);
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue