(#539) When view is unlinked, ask user to keep either override or original range filter collection

This commit is contained in:
Magne Sjaastad
2015-10-21 12:45:35 +02:00
parent 065a688c19
commit 8de8100c3e
12 changed files with 148 additions and 8 deletions

View File

@@ -264,7 +264,17 @@ void RiuViewerCommands::displayContextMenu(QMouseEvent* event)
}
}
menu.exec(event->globalPos());
if (menu.actions().size() > 0)
{
// event->accept();
QAction* act = menu.exec(event->globalPos());
/*
if (act)
{
cvf::Trace::show("Jadda");
}
*/
}
}
//--------------------------------------------------------------------------------------------------