mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
System : Prepare for temporary selection
This commit is contained in:
parent
ebb191069f
commit
2e3ba3a644
@ -41,6 +41,7 @@ class RimGeoMechView;
|
||||
//==================================================================================================
|
||||
class RiuSelectionManager
|
||||
{
|
||||
public:
|
||||
enum SelectionRole
|
||||
{
|
||||
RUI_APPLICATION_GLOBAL, // Selection role intended to manage the cells selected by left mouse click in the 3D view
|
||||
|
@ -329,6 +329,9 @@ void RiuViewerCommands::displayContextMenu(QMouseEvent* event)
|
||||
{
|
||||
menu.exec(event->globalPos());
|
||||
}
|
||||
|
||||
// Delete items in temporary selection
|
||||
RiuSelectionManager::instance()->deleteAllItems(RiuSelectionManager::RUI_TEMPORARY);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user