GH-1789 fix icon deletion
This commit is contained in:
parent
85320777c6
commit
201d4ac317
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ struct MULTIMC_GUI_EXPORT MMCImage
|
|||
QString filename;
|
||||
bool present() const
|
||||
{
|
||||
return !icon.isNull() && !key.isEmpty();
|
||||
return !icon.isNull() || !key.isEmpty();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue