From be2d39b03583fdd5a60318c73e19a14f99a38374 Mon Sep 17 00:00:00 2001 From: Silarn Date: Wed, 11 Apr 2018 15:12:31 -0500 Subject: Add flag and description text to ESL-flagged ESPs --- src/pluginlist.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/pluginlist.cpp') diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index 9bbcdc11..bd863f52 100644 --- a/src/pluginlist.cpp +++ b/src/pluginlist.cpp @@ -878,8 +878,12 @@ QVariant PluginList::data(const QModelIndex &modelIndex, int role) const text += "
" + tr("Enabled Masters") + ": " + SetJoin(enabledMasters, ", "); } if (m_ESPs[index].m_HasIni) { - text += "
There is an ini file connected to this esp. Its settings will be added to your game settings, overwriting " - "in case of conflicts."; + text += "
" + tr("There is an ini file connected to this esp. " + "Its settings will be added to your game settings, overwriting in case of conflicts."); + } + if (m_ESPs[index].m_IsLightFlagged && !m_ESPs[index].m_IsLight) { + text += "

" + tr("This ESP is flagged as an ESL. " + "It will adhere to the ESP load order but the records will be loaded in ESL space."); } toolTip += text; } @@ -902,6 +906,9 @@ QVariant PluginList::data(const QModelIndex &modelIndex, int role) const if (m_ESPs[index].m_HasIni) { result.append(":/MO/gui/attachment"); } + if (m_ESPs[index].m_IsLightFlagged && !m_ESPs[index].m_IsLight) { + result.append(":/MO/gui/awaiting"); + } return result; } return QVariant(); -- cgit v1.3.1