Fix assert on construct of jobset page

This commit is contained in:
Mark Roszko 2025-06-14 14:05:36 -04:00
parent 6ded31927b
commit 4bfeddcc8d

View File

@ -577,8 +577,11 @@ void PANEL_JOBSET::UpdateTitle()
tabName = wxS( "*" ) + tabName; tabName = wxS( "*" ) + tabName;
int pageIdx = m_parentBook->FindPage( this ); int pageIdx = m_parentBook->FindPage( this );
if( pageIdx >= 0 )
{
m_parentBook->SetPageText( pageIdx, tabName ); m_parentBook->SetPageText( pageIdx, tabName );
} }
}
void PANEL_JOBSET::addDestinationPanel( JOBSET_DESTINATION* aOutput ) void PANEL_JOBSET::addDestinationPanel( JOBSET_DESTINATION* aOutput )