Browse Source

Prevent modal deadlock by using QuasiModal mode.

Fixes https://gitlab.com/kicad/code/kicad/issues/6779
6.0.7
Jeff Young 5 years ago
parent
commit
c875efb635
  1. 6
      eeschema/tools/sch_edit_tool.cpp

6
eeschema/tools/sch_edit_tool.cpp

@ -1240,7 +1240,7 @@ int SCH_EDIT_TOOL::ChangeSymbols( const TOOL_EVENT& aEvent )
DIALOG_CHANGE_SYMBOLS dlg( m_frame, selectedSymbol, mode );
dlg.ShowModal();
dlg.ShowQuasiModal();
return 0;
}
@ -1369,12 +1369,12 @@ int SCH_EDIT_TOOL::Properties( const TOOL_EVENT& aEvent )
else if( retval == SYMBOL_PROPS_WANT_UPDATE_SYMBOL )
{
DIALOG_CHANGE_SYMBOLS dlg( m_frame, component, DIALOG_CHANGE_SYMBOLS::MODE::UPDATE );
dlg.ShowModal();
dlg.ShowQuasiModal();
}
else if( retval == SYMBOL_PROPS_WANT_EXCHANGE_SYMBOL )
{
DIALOG_CHANGE_SYMBOLS dlg( m_frame, component, DIALOG_CHANGE_SYMBOLS::MODE::CHANGE );
dlg.ShowModal();
dlg.ShowQuasiModal();
}
}
break;

Loading…
Cancel
Save