diff --git a/LiteEditor/manager.cpp b/LiteEditor/manager.cpp index e45aeb0481..d4d6819db3 100644 --- a/LiteEditor/manager.cpp +++ b/LiteEditor/manager.cpp @@ -1651,6 +1651,9 @@ void Manager::OnProcessEnd(clProcessEvent& event) clExecuteEvent stopEvent(wxEVT_PROGRAM_TERMINATED); EventNotifier::Get()->AddPendingEvent(stopEvent); + // Raise CodeLite + clMainFrame::Get()->Raise(); + // return the focus back to the editor if (clMainFrame::Get()->GetMainBook()->GetActiveEditor()) { clMainFrame::Get()->GetMainBook()->GetActiveEditor()->SetActive();