summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-01-17 23:36:41 +0100
committerPetr Mrázek <peterix@gmail.com>2017-01-17 23:36:41 +0100
commit201d4ac317cba2a7034cd08945b488bd46eb8ed3 (patch)
treebda41c0fc11eb025be6a78cc3fa618bb391c4e6e /api
parent85320777c649a744923fdb91af6103d2108f63e9 (diff)
downloadMultiMC-201d4ac317cba2a7034cd08945b488bd46eb8ed3.tar
MultiMC-201d4ac317cba2a7034cd08945b488bd46eb8ed3.tar.gz
MultiMC-201d4ac317cba2a7034cd08945b488bd46eb8ed3.tar.lz
MultiMC-201d4ac317cba2a7034cd08945b488bd46eb8ed3.tar.xz
MultiMC-201d4ac317cba2a7034cd08945b488bd46eb8ed3.zip
GH-1789 fix icon deletion
Diffstat (limited to 'api')
-rw-r--r--api/gui/icons/MMCIcon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/gui/icons/MMCIcon.h b/api/gui/icons/MMCIcon.h
index cf8aff28..dd65eebd 100644
--- a/api/gui/icons/MMCIcon.h
+++ b/api/gui/icons/MMCIcon.h
@@ -28,7 +28,7 @@ struct MULTIMC_GUI_EXPORT MMCImage
QString filename;
bool present() const
{
- return !icon.isNull() && !key.isEmpty();
+ return !icon.isNull() || !key.isEmpty();
}
};