mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
added 'undone' parameter to onAction
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@43 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -186,11 +186,11 @@ void CardsPanel::onCommand(int id) {
|
||||
|
||||
// ----------------------------------------------------------------------------- : Actions
|
||||
|
||||
bool CardsPanel::wantsToHandle(const Action&) const {
|
||||
bool CardsPanel::wantsToHandle(const Action&, bool undone) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
void CardsPanel::onAction(const Action& action) {
|
||||
void CardsPanel::onAction(const Action& action, bool undo) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user