From b4c26c516412b2f7270be02494b85be9cad0cadb Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Thu, 27 Jun 2019 17:28:15 -0400 Subject: fix inactive esps being marked as active because path separators changed from / to \ since the change to std::filesystem --- src/modinfodialogesps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modinfodialogesps.cpp') 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; -- cgit v1.3.1