#1840 Summary case: Cut paste of summary cases

This commit is contained in:
Rebecca Cox
2017-09-12 14:08:09 +02:00
parent 6dc14c09b1
commit ee25b8424d
11 changed files with 375 additions and 5 deletions

View File

@@ -510,10 +510,11 @@ bool RiuDragDrop::handleSummaryCaseMainCollectionDrop(Qt::DropAction action, caf
summaryCaseCollection->removeCase(summaryCase);
summaryCaseDropTarget->addCase(summaryCase);
summaryCaseCollection->updateConnectedEditors();
continue;
}
}
summaryCaseDropTarget->updateConnectedEditors();
return true;
}

View File

@@ -1,7 +1,6 @@
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2015- Statoil ASA
// Copyright (C) 2015- Ceetron Solutions AS
// Copyright (C) 2017- Statoil ASA
//
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -45,7 +44,7 @@ class RiuDragDrop : public caf::PdmUiDragDropInterface
public:
RiuDragDrop();
virtual ~RiuDragDrop();
protected:
virtual Qt::DropActions supportedDropActions() const;
virtual Qt::ItemFlags flags(const QModelIndex &index) const;