diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2017-10-21 23:00:32 -0500 |
|---|---|---|
| committer | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2017-10-21 23:00:32 -0500 |
| commit | e4d431fe2111134ec38f69a1924a2730e89767fc (patch) | |
| tree | 5d90147a22a65607e7bc4242c17c990e2cdd5625 /src/pluginlist.cpp | |
| parent | eaeb48d745d74857d47da5d66d82fea005a16555 (diff) | |
Display the index of the ESL in the mod index space to differentiate ESLs
Diffstat (limited to 'src/pluginlist.cpp')
| -rw-r--r-- | src/pluginlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index f1e28cb2..d2ffad91 100644 --- a/src/pluginlist.cpp +++ b/src/pluginlist.cpp @@ -734,7 +734,7 @@ QVariant PluginList::data(const QModelIndex &modelIndex, int role) const }
if (m_ESPs[index].m_IsLight) {
int ESLpos = 254 + (numESLs+1 / 4096);
- return QString("%1").arg(ESLpos, 2, 16, QChar('0')).toUpper();
+ return QString("%1:%2").arg(ESLpos, 2, 16, QChar('0')).arg((numESLs+1)%4096).toUpper();
} else {
return QString("%1").arg(m_ESPs[index].m_LoadOrder - numESLs, 2, 16, QChar('0')).toUpper();
}
|
