summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorTom Tanner <thosrtanner2@users.sourceforge.net>2015-07-09 18:58:57 +0100
committerTom Tanner <thosrtanner2@users.sourceforge.net>2015-07-09 18:58:57 +0100
commit18ad6565861a62d8121d84265a9f5baf1cb32b05 (patch)
treeef1389a1ea4614aa09411292ce36e794a6f2bf06 /src/organizercore.cpp
parenteaafc489fc625d71e4ce797cebb28056746896bc (diff)
parent7799c348ba70bc6a6b8cb3a424ec6fcb82071179 (diff)
Merge
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp6
1 files changed, 6 insertions, 0 deletions
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();
}