diff --git a/Fwk/AppFwk/cafUserInterface/cafPdmUiListEditor.cpp b/Fwk/AppFwk/cafUserInterface/cafPdmUiListEditor.cpp index 75865cac22..b9869b89d0 100644 --- a/Fwk/AppFwk/cafUserInterface/cafPdmUiListEditor.cpp +++ b/Fwk/AppFwk/cafUserInterface/cafPdmUiListEditor.cpp @@ -422,6 +422,10 @@ void PdmUiListEditor::pasteFromString(const QString& content) //-------------------------------------------------------------------------------------------------- bool PdmUiListEditor::eventFilter(QObject* object, QEvent * event) { + if (!m_listView) + { + return false; + } if (object == m_listView->viewport() && event->type() == QEvent::MouseMove) { QMouseEvent* mouseEvent = dynamic_cast(event);