Don't set modified when loading workbook.
Also keep a shadow variable of the legend position so we can notice when the mpWindow's OnMouseMove() handler changes it. Fixes https://gitlab.com/kicad/code/kicad/-/issues/15363
This commit is contained in:
@@ -441,6 +441,7 @@ SIM_PLOT_TAB::SIM_PLOT_TAB( const wxString& aSimCommand, wxWindow* parent ) :
|
||||
m_legend = new mpInfoLegend( wxRect( 0, 0, 200, 40 ), wxTRANSPARENT_BRUSH );
|
||||
m_legend->SetVisible( false );
|
||||
m_plotWin->AddLayer( m_legend );
|
||||
m_LastLegendPosition = m_legend->GetPosition();
|
||||
|
||||
m_plotWin->EnableDoubleBuffer( true );
|
||||
m_plotWin->UpdateAll();
|
||||
|
||||
Reference in New Issue
Block a user