mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
Fix crash when changing result name when exporting multiple snapshots
This commit is contained in:
parent
4900f50160
commit
9f336ab16f
@ -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<QMouseEvent*>(event);
|
||||
|
Loading…
Reference in New Issue
Block a user