Commit 3af054c7 authored by Wayne Stambaugh's avatar Wayne Stambaugh

Improve Eeschema find dialog behavior.

* Remove ignore mouse events before creating find dialog for true mode-less
  behavior as was originally intended.
parent 6582cea8
...@@ -652,8 +652,6 @@ void SCH_EDIT_FRAME::OnFindItems( wxCommandEvent& aEvent ) ...@@ -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 ) ...@@ -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 );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment