From 9a5965afa73077e541c4d8bdc49f0729b42c482d Mon Sep 17 00:00:00 2001 From: Tannin Date: Tue, 7 Jul 2015 20:52:46 +0200 Subject: bugfix: invalidation bsa wasn't created when switching to a profile that needed it invalidation bsa is now always placed as the first bsa --- src/organizercore.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/organizercore.cpp') diff --git a/src/organizercore.cpp b/src/organizercore.cpp index fa1f372c..8b2a755d 100644 --- a/src/organizercore.cpp +++ b/src/organizercore.cpp @@ -529,6 +529,12 @@ void OrganizerCore::setCurrentProfile(const QString &profileName) m_CurrentProfile = newProfile; m_ModList.setProfile(newProfile); + if (m_CurrentProfile->invalidationActive(nullptr)) { + m_CurrentProfile->activateInvalidation(); + } else { + m_CurrentProfile->deactivateInvalidation(); + } + connect(m_CurrentProfile, SIGNAL(modStatusChanged(uint)), this, SLOT(modStatusChanged(uint))); refreshDirectoryStructure(); } -- cgit v1.3.1