Properly detect if the instance is vanilla and don't treat it as custom.
This commit is contained in:
@ -53,9 +53,18 @@ public: /* methods */
|
||||
{
|
||||
return filename;
|
||||
}
|
||||
virtual bool isCustom()
|
||||
{
|
||||
return !isVanilla;
|
||||
};
|
||||
void setVanilla (bool state)
|
||||
{
|
||||
isVanilla = state;
|
||||
}
|
||||
|
||||
public: /* data */
|
||||
int order = 0;
|
||||
bool isVanilla = false;
|
||||
QString name;
|
||||
QString fileId;
|
||||
QString version;
|
||||
|
Reference in New Issue
Block a user