Skip to content

Commit

Permalink
Merge pull request #114 from smoe/not_invoking_safeyield
Browse files Browse the repository at this point in the history
fix: loading from disk works again
  • Loading branch information
magnusmanske authored Aug 27, 2024
2 parents 0f4839d + 43b3085 commit c48bfb3
Show file tree
Hide file tree
Showing 11 changed files with 473 additions and 209 deletions.
11 changes: 10 additions & 1 deletion src/ChildBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,26 @@ void ChildBase::showName ( const wxString& _x ) const

void ChildBase::OnFocus(wxFocusEvent& event)
{
//wxPrintf( "D: ChildBase::OnFocus - start\n" ) ;
myass ( myapp() , "Oh no! No application defined!" ) ;
myass ( myapp()->frame , "Oh no! No frame defined!" ) ;
if ( myapp()->frame->dying )
{
wxPrintf( "D: ChildBase::OnFocus - ret dying\n" ) ;
return ;
}

Activate () ;
showName () ;

//SetFocusedItem ( inMainTree ) ;

if ( cSequence ) cSequence->SetFocus() ;
if ( cSequence )
{
//wxPrintf( "D: ChildBase::OnFocus - cSequence\n" ) ;
cSequence->SetFocus() ;
}
//wxPrintf( "D: ChildBase::OnFocus - end\n" ) ;
}

bool ChildBase::caniclose(wxCloseEvent& event)
Expand Down
Loading

0 comments on commit c48bfb3

Please sign in to comment.