mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fixed undo issue for combined editor;
Added keyword usage statistics git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@516 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -119,7 +119,8 @@ String TextValue::toString() const {
|
||||
}
|
||||
bool TextValue::update(Context& ctx) {
|
||||
Value::update(ctx);
|
||||
WITH_DYNAMIC_ARG(last_update_age, value.isDefault() ? 0 : last_update.get());
|
||||
WITH_DYNAMIC_ARG(last_update_age, last_update.get());
|
||||
WITH_DYNAMIC_ARG(value_being_updated, this);
|
||||
bool change = field().default_script.invokeOnDefault(ctx, value)
|
||||
| field(). script.invokeOn(ctx, value);
|
||||
if (change) last_update.update();
|
||||
|
||||
Reference in New Issue
Block a user