From 201d4ac317cba2a7034cd08945b488bd46eb8ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 17 Jan 2017 23:36:41 +0100 Subject: GH-1789 fix icon deletion --- api/gui/icons/MMCIcon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }; -- cgit v1.2.3