Update m_LastLegendPosition after setting dirty bit.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17411
This commit is contained in:
parent
b56ee20e22
commit
7341d4bf37
|
@ -1270,7 +1270,10 @@ void SIMULATOR_FRAME_UI::OnUpdateUI( wxUpdateUIEvent& event )
|
|||
if( SIM_PLOT_TAB* plotTab = dynamic_cast<SIM_PLOT_TAB*>( GetCurrentSimTab() ) )
|
||||
{
|
||||
if( plotTab->GetLegendPosition() != plotTab->m_LastLegendPosition )
|
||||
{
|
||||
plotTab->m_LastLegendPosition = plotTab->GetLegendPosition();
|
||||
OnModify();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue