System : Prepare for temporary selection

This commit is contained in:
Magne Sjaastad
2016-12-21 08:22:45 +01:00
parent ebb191069f
commit 2e3ba3a644
2 changed files with 4 additions and 0 deletions

View File

@@ -329,6 +329,9 @@ void RiuViewerCommands::displayContextMenu(QMouseEvent* event)
{
menu.exec(event->globalPos());
}
// Delete items in temporary selection
RiuSelectionManager::instance()->deleteAllItems(RiuSelectionManager::RUI_TEMPORARY);
}
//--------------------------------------------------------------------------------------------------