Cvpcb: better fix of Bug #1402306
This commit is contained in:
parent
9624d3233d
commit
100913a696
|
@ -442,17 +442,6 @@ bool CVPCB_MAINFRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, i
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
m_NetlistFileName = aFileSet[0];
|
m_NetlistFileName = aFileSet[0];
|
||||||
ReadNetListAndLinkFiles();
|
|
||||||
|
|
||||||
UpdateTitle();
|
|
||||||
|
|
||||||
// Resize the components list box. This is needed in case the
|
|
||||||
// contents have shrunk compared to the previous netlist.
|
|
||||||
m_compListBox->UpdateWidth();
|
|
||||||
|
|
||||||
// OSX need it since some objects are "rebuild" just make aware AUI
|
|
||||||
// Fixes #1258081
|
|
||||||
m_auimgr.Update();
|
|
||||||
|
|
||||||
if( Kiface().IsSingle() )
|
if( Kiface().IsSingle() )
|
||||||
{
|
{
|
||||||
|
@ -470,6 +459,18 @@ bool CVPCB_MAINFRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, i
|
||||||
Prj().SetProjectFullName( pro.GetFullPath() );
|
Prj().SetProjectFullName( pro.GetFullPath() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ReadNetListAndLinkFiles();
|
||||||
|
|
||||||
|
UpdateTitle();
|
||||||
|
|
||||||
|
// Resize the components list box. This is needed in case the
|
||||||
|
// contents have shrunk compared to the previous netlist.
|
||||||
|
m_compListBox->UpdateWidth();
|
||||||
|
|
||||||
|
// OSX need it since some objects are "rebuild" just make aware AUI
|
||||||
|
// Fixes #1258081
|
||||||
|
m_auimgr.Update();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue