mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +02:00
Fix assert on construct of jobset page
This commit is contained in:
parent
6ded31927b
commit
4bfeddcc8d
@ -577,7 +577,10 @@ void PANEL_JOBSET::UpdateTitle()
|
|||||||
tabName = wxS( "*" ) + tabName;
|
tabName = wxS( "*" ) + tabName;
|
||||||
|
|
||||||
int pageIdx = m_parentBook->FindPage( this );
|
int pageIdx = m_parentBook->FindPage( this );
|
||||||
m_parentBook->SetPageText( pageIdx, tabName );
|
if( pageIdx >= 0 )
|
||||||
|
{
|
||||||
|
m_parentBook->SetPageText( pageIdx, tabName );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user