Pass proper parent to symbol viewer frame when changing symbols
Fixes sentry KICAD-1Z9 Fixes sentry KICAD-22J
This commit is contained in:
parent
8ad7736f5e
commit
1f5719ef3a
|
@ -243,7 +243,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 ) )
|
||||||
{
|
{
|
||||||
|
@ -259,7 +259,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