summaryrefslogtreecommitdiff
path: root/src/modinfo.h
diff options
context:
space:
mode:
authorAl12rs <gabriel.cortesi@outlook.com>2018-10-28 02:16:20 +0200
committerAl12rs <gabriel.cortesi@outlook.com>2018-10-28 02:16:20 +0200
commit42d2344f0b81cb1cf8dbe83e8f480b84ed0c3114 (patch)
tree5f349dba87b9a6e34700e4b6dbd4ac6c19e95d42 /src/modinfo.h
parent18e49b71b509a7a306d89392cc4486bb3c960e4f (diff)
Added modlist Separators feature:
*New modType separator. *Bold, italic and centralized name without _separator at the end. *Added "create separator" option to context menu. *Added "rename separator" option. *Fixed rename separator issue with priority resetting.
Diffstat (limited to 'src/modinfo.h')
-rw-r--r--src/modinfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modinfo.h b/src/modinfo.h
index 895105df..9f6c2fbc 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -62,6 +62,7 @@ public:
enum EFlag {
FLAG_INVALID,
FLAG_BACKUP,
+ FLAG_SEPARATOR,
FLAG_OVERWRITE,
FLAG_FOREIGN,
FLAG_NOTENDORSED,
@@ -560,7 +561,7 @@ public:
/**
* @return true if this mod is considered "valid", that is: it contains data used by the game
**/
- bool isValid() const { return m_Valid; }
+ virtual bool isValid() const { return m_Valid; }
/**
* @return true if the file has been endorsed on nexus