summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-03-31 18:32:46 +0200
committerTannin <devnull@localhost>2015-03-31 18:32:46 +0200
commit1ba140e0fa3994d0c3f80dacb0322ec02364fddd (patch)
tree304cdf44ce912403c461c8f9cc9571507081aefc
parenteed3664302e915c058962e339070058a181b2c7a (diff)
avoid saving plugin list during directory updates as they may be invalid
-rw-r--r--src/organizercore.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index fcd934ae..5a92bbd7 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1460,6 +1460,10 @@ bool OrganizerCore::saveCurrentLists()
void OrganizerCore::savePluginList()
{
+ if (m_DirectoryUpdate) {
+ qWarning("Can't save plugin lists now, might outdated");
+ return;
+ }
m_PluginList.saveTo(m_CurrentProfile->getPluginsFileName(),
m_CurrentProfile->getLoadOrderFileName(),
m_CurrentProfile->getLockedOrderFileName(),