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
37b723d8ae
commit
52139cf0c4
|
@ -820,13 +820,14 @@ bool DIALOG_FIELDS_EDITOR_GLOBAL::TransferDataFromWindow()
|
||||||
SCH_SHEET_PATH currentSheet = m_parent->GetCurrentSheet();
|
SCH_SHEET_PATH currentSheet = m_parent->GetCurrentSheet();
|
||||||
|
|
||||||
m_dataModel->ApplyData();
|
m_dataModel->ApplyData();
|
||||||
m_parent->SyncView();
|
|
||||||
m_parent->OnModify();
|
|
||||||
|
|
||||||
// Reset the view to where we left the user
|
// Reset the view to where we left the user
|
||||||
m_parent->SetCurrentSheet( currentSheet );
|
m_parent->SetCurrentSheet( currentSheet );
|
||||||
|
m_parent->SyncView();
|
||||||
m_parent->Refresh();
|
m_parent->Refresh();
|
||||||
|
|
||||||
|
m_parent->OnModify();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue