diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-27 17:28:15 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-02 10:10:20 -0400 |
| commit | b4c26c516412b2f7270be02494b85be9cad0cadb (patch) | |
| tree | dd44e7f544ab091f3508d288bcb83b3843b57e9e /src/modinfodialogesps.cpp | |
| parent | 093eb5650bdd010d9c779e64d3ca63682ba6ca19 (diff) | |
fix inactive esps being marked as active because path separators changed from / to \ since the change to std::filesystem
Diffstat (limited to 'src/modinfodialogesps.cpp')
| -rw-r--r-- | src/modinfodialogesps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modinfodialogesps.cpp b/src/modinfodialogesps.cpp index d00eccf3..8dceaa31 100644 --- a/src/modinfodialogesps.cpp +++ b/src/modinfodialogesps.cpp @@ -12,7 +12,7 @@ public: ESPItem(QString rootPath, QString relativePath) : m_rootPath(std::move(rootPath)), m_active(false) { - if (relativePath.contains('/')) { + if (relativePath.contains('/') || relativePath.contains('\\')) { m_inactivePath = relativePath; } else { m_activePath = relativePath; |
