From 78ee23220f4b755515dfb391aeb3fbdb6d48f0d6 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Mon, 25 Nov 2019 05:31:28 -0500 Subject: bumped to 2.2.2alpha7 use the broom icon for dirty plugins better handling of failing to spawn loot --- src/pluginlist.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/pluginlist.cpp') diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index e91d820d..3f2f4018 100644 --- a/src/pluginlist.cpp +++ b/src/pluginlist.cpp @@ -1214,10 +1214,14 @@ QVariant PluginList::iconData(const QModelIndex &modelIndex) const result.append(":/MO/gui/archive_conflict_neutral"); } - if (esp.isLightFlagged && !m_ESPs[index].isLight) { + if (esp.isLightFlagged && !esp.isLight) { result.append(":/MO/gui/awaiting"); } + if (info && !info->loot.dirty.empty()) { + result.append(":/MO/gui/edit_clear"); + } + return result; } @@ -1250,10 +1254,6 @@ bool PluginList::hasInfo(const ESPInfo& esp, const AdditionalInfo* info) const if (!info->loot.messages.empty()) { return true; } - - if (!info->loot.dirty.empty()) { - return true; - } } return false; -- cgit v1.3.1