mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 05:08:56 +00:00
HackStudio: Close the debug tab when debugged program exits
This commit is contained in:
@@ -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);
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user