#1401 Disable model change notification for several features

This commit is contained in:
Magne Sjaastad
2017-04-20 10:38:58 +02:00
parent 530400fb28
commit 31852ba94f
21 changed files with 44 additions and 0 deletions

View File

@@ -57,6 +57,8 @@ bool RicCopyReferencesToClipboardFeature::isCommandEnabled()
//--------------------------------------------------------------------------------------------------
void RicCopyReferencesToClipboardFeature::onActionTriggered(bool isChecked)
{
this->disableModelChangeContribution();
if (!isAnyCopyableObjectSelected()) return;
std::vector<QString> referenceList;