Skip to content

Commit

Permalink
Call Raise after execution of a program
Browse files Browse the repository at this point in the history
    fixes: #3538

Signed-off-by: Eran Ifrah <[email protected]>
  • Loading branch information
eranif committed Nov 24, 2024
1 parent eaa5ae4 commit 88813ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions LiteEditor/manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 88813ff

Please sign in to comment.