Fix issue trying to size stuff before it's displayed.
Fixes https://gitlab.com/kicad/code/kicad/issues/12386
This commit is contained in:
parent
2743fd583f
commit
ca14697ad6
|
@ -451,7 +451,8 @@ void PANEL_FP_PROPERTIES_3D_MODEL::AdjustGridColumnWidths()
|
|||
int width = modelsWidth - m_modelsGrid->GetColSize( COL_SHOWN )
|
||||
- m_modelsGrid->GetColSize( COL_PROBLEM );
|
||||
|
||||
m_modelsGrid->SetColSize( COL_FILENAME, width );
|
||||
if( width > 0 )
|
||||
m_modelsGrid->SetColSize( COL_FILENAME, width );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue