mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1840 Summary case: Cut paste of summary cases
This commit is contained in:
@@ -510,10 +510,11 @@ bool RiuDragDrop::handleSummaryCaseMainCollectionDrop(Qt::DropAction action, caf
|
||||
summaryCaseCollection->removeCase(summaryCase);
|
||||
summaryCaseDropTarget->addCase(summaryCase);
|
||||
summaryCaseCollection->updateConnectedEditors();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
summaryCaseDropTarget->updateConnectedEditors();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user