diff --git a/common/widgets/lib_tree.cpp b/common/widgets/lib_tree.cpp index 5d49057ee3..11c245b603 100644 --- a/common/widgets/lib_tree.cpp +++ b/common/widgets/lib_tree.cpp @@ -781,18 +781,6 @@ void LIB_TREE::onIdle( wxIdleEvent& aEvent ) if( m_previewItem.IsOk() ) { - // Scroll checker - if( m_tree_ctrl->GetItemRect( m_previewItem ) != m_previewItemRect ) - { - hidePreview(); - - m_hoverPos = clientPos; - m_hoverItem = item; - m_hoverItemRect = m_tree_ctrl->GetItemRect( m_hoverItem ); - m_hoverTimer.StartOnce( HOVER_TIMER_MILLIS ); - return; - } - if( item != m_previewItem ) { #ifdef __WXGTK__