Fix assert on construct of jobset page
This commit is contained in:
@@ -577,7 +577,10 @@ void PANEL_JOBSET::UpdateTitle()
|
||||
tabName = wxS( "*" ) + tabName;
|
||||
|
||||
int pageIdx = m_parentBook->FindPage( this );
|
||||
m_parentBook->SetPageText( pageIdx, tabName );
|
||||
if( pageIdx >= 0 )
|
||||
{
|
||||
m_parentBook->SetPageText( pageIdx, tabName );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user