mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
Added value actions for common value types; drop down list is now correctly aligned
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@92 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -80,7 +80,8 @@ class TextValue : public Value {
|
||||
inline TextValue(const TextFieldP& field) : Value(field) {}
|
||||
DECLARE_HAS_FIELD(Text)
|
||||
|
||||
Defaultable<String> value; ///< The text of this value
|
||||
typedef Defaultable<String> ValueType;
|
||||
ValueType value; ///< The text of this value
|
||||
|
||||
virtual String toString() const;
|
||||
virtual bool update(Context&);
|
||||
|
||||
Reference in New Issue
Block a user