summaryrefslogtreecommitdiff
path: root/src/modinfodialogesps.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-27 17:28:15 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-02 10:10:20 -0400
commitb4c26c516412b2f7270be02494b85be9cad0cadb (patch)
treedd44e7f544ab091f3508d288bcb83b3843b57e9e /src/modinfodialogesps.cpp
parent093eb5650bdd010d9c779e64d3ca63682ba6ca19 (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.cpp2
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;