mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
bad9981ad9
Removed the year so we don't get tempted to change this ever again.
21 lines
856 B
C++
21 lines
856 B
C++
//+----------------------------------------------------------------------------+
|
|
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
|
|
//| Copyright: (C) Twan van Laarhoven and the other MSE developers |
|
|
//| License: GNU General Public License 2 or later (see file COPYING) |
|
|
//+----------------------------------------------------------------------------+
|
|
|
|
// ----------------------------------------------------------------------------- : Includes
|
|
|
|
#include <util/prec.hpp>
|
|
#include <gui/value/editor.hpp>
|
|
#include <data/action/value.hpp>
|
|
|
|
// ----------------------------------------------------------------------------- : ValueEditor
|
|
|
|
void ValueEditor::addAction(unique_ptr<ValueAction> a) {
|
|
if (a) {
|
|
a->isOnCard(editor().getCard().get());
|
|
editor().addAction(move(a));
|
|
}
|
|
}
|