Pass proper parent to symbol viewer frame when changing symbols
Fixes sentry KICAD-1Z9
Fixes sentry KICAD-22J
(Cherry-picked from 1f5719ef3a
)
This commit is contained in:
parent
b0f4d56de1
commit
e5df16ba2b
|
@ -242,7 +242,7 @@ void DIALOG_CHANGE_SYMBOLS::launchMatchIdSymbolBrowser( wxCommandEvent& aEvent )
|
||||||
{
|
{
|
||||||
wxString newName = getLibIdValue( m_specifiedId );
|
wxString newName = getLibIdValue( m_specifiedId );
|
||||||
|
|
||||||
KIWAY_PLAYER* frame = Kiway().Player( FRAME_SCH_VIEWER_MODAL, true );
|
KIWAY_PLAYER* frame = Kiway().Player( FRAME_SCH_VIEWER_MODAL, true, this );
|
||||||
|
|
||||||
if( frame->ShowModal( &newName, this ) )
|
if( frame->ShowModal( &newName, this ) )
|
||||||
{
|
{
|
||||||
|
@ -258,7 +258,7 @@ void DIALOG_CHANGE_SYMBOLS::launchNewIdSymbolBrowser( wxCommandEvent& aEvent )
|
||||||
{
|
{
|
||||||
wxString newName = getLibIdValue( m_newId );
|
wxString newName = getLibIdValue( m_newId );
|
||||||
|
|
||||||
KIWAY_PLAYER* frame = Kiway().Player( FRAME_SCH_VIEWER_MODAL, true );
|
KIWAY_PLAYER* frame = Kiway().Player( FRAME_SCH_VIEWER_MODAL, true, this );
|
||||||
|
|
||||||
if( frame->ShowModal( &newName, this ) )
|
if( frame->ShowModal( &newName, this ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue