mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix a bad side effect shown with many sim tabs and with dynamic cursors applied for each, while closing/switching sim tabs.
This commit is contained in:
parent
5b84d63a9b
commit
5007db9b74
@ -2787,6 +2787,9 @@ void SIMULATOR_FRAME_UI::onPlotClosed( wxAuiNotebookEvent& event )
|
||||
rebuildSignalsGrid( m_filter->GetValue() );
|
||||
updatePlotCursors();
|
||||
|
||||
//To avoid a current side effect in dynamic cursors while closing one out of many sim tabs
|
||||
updateSignalsGrid();
|
||||
|
||||
SIM_TAB* panel = GetCurrentSimTab();
|
||||
|
||||
if( !panel || panel->GetSimType() != ST_OP )
|
||||
@ -2848,6 +2851,9 @@ void SIMULATOR_FRAME_UI::onPlotChanged( wxAuiNotebookEvent& event )
|
||||
|
||||
OnPlotSettingsChanged();
|
||||
|
||||
//To avoid a current side effect in dynamic cursors while switching sim tabs
|
||||
updateSignalsGrid();
|
||||
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user