Don't resync the screen before we've changed it back.
Fixes: lp:4382 * https://bugs.launchpad.net/kicad/+bug/4382
This commit is contained in:
parent
a073ae5712
commit
f3a5f5b6ca
|
@ -887,13 +887,14 @@ bool DIALOG_FIELDS_EDITOR_GLOBAL::TransferDataFromWindow()
|
|||
SCH_SHEET_PATH currentSheet = m_parent->GetCurrentSheet();
|
||||
|
||||
m_dataModel->ApplyData();
|
||||
m_parent->SyncView();
|
||||
m_parent->OnModify();
|
||||
|
||||
// Reset the view to where we left the user
|
||||
m_parent->SetCurrentSheet( currentSheet );
|
||||
m_parent->SyncView();
|
||||
m_parent->Refresh();
|
||||
|
||||
m_parent->OnModify();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue