Improve Eeschema find dialog behavior.

* Remove ignore mouse events before creating find dialog for true mode-less
  behavior as was originally intended.
This commit is contained in:
Wayne Stambaugh 2013-02-07 15:36:35 -05:00
parent 6582cea862
commit 3af054c702
1 changed files with 0 additions and 4 deletions

View File

@ -652,8 +652,6 @@ void SCH_EDIT_FRAME::OnFindItems( wxCommandEvent& aEvent )
wxCHECK_RET( m_findReplaceData != NULL, wxCHECK_RET( m_findReplaceData != NULL,
wxT( "Forgot to create find/replace data. Bad Programmer!" ) ); wxT( "Forgot to create find/replace data. Bad Programmer!" ) );
this->GetCanvas()->SetIgnoreMouseEvents( true );
if( m_dlgFindReplace ) if( m_dlgFindReplace )
{ {
delete m_dlgFindReplace; delete m_dlgFindReplace;
@ -702,8 +700,6 @@ void SCH_EDIT_FRAME::OnFindDialogClose( wxFindDialogEvent& event )
m_dlgFindReplace->Destroy(); m_dlgFindReplace->Destroy();
m_dlgFindReplace = NULL; m_dlgFindReplace = NULL;
} }
m_canvas->SetIgnoreMouseEvents( false );
} }