GH-1789 fix icon deletion

This commit is contained in:
Petr Mrázek 2017-01-17 23:36:41 +01:00
parent 85320777c6
commit 201d4ac317

View File

@ -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();
} }
}; };