GH-1789 fix icon deletion
This commit is contained in:
parent
85320777c6
commit
201d4ac317
@ -28,7 +28,7 @@ struct MULTIMC_GUI_EXPORT MMCImage
|
|||||||
QString filename;
|
QString filename;
|
||||||
bool present() const
|
bool present() const
|
||||||
{
|
{
|
||||||
return !icon.isNull() && !key.isEmpty();
|
return !icon.isNull() || !key.isEmpty();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user