diff options
| author | Tannin <devnull@localhost> | 2015-07-07 20:52:46 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-07-07 20:52:46 +0200 |
| commit | 9a5965afa73077e541c4d8bdc49f0729b42c482d (patch) | |
| tree | dbe26b486c2cb9c3e3694dfd4fb9fdb26313037e /src/organizercore.cpp | |
| parent | 7853ba5f9a246b56e4dd0abfcb55a7e81e99ad9f (diff) | |
bugfix: invalidation bsa wasn't created when switching to a profile that needed it
invalidation bsa is now always placed as the first bsa
Diffstat (limited to 'src/organizercore.cpp')
| -rw-r--r-- | src/organizercore.cpp | 6 |
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();
}
|
