aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lumina-desktop/LDesktop.cpp4
-rw-r--r--lumina-desktop/LDesktop.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/lumina-desktop/LDesktop.cpp b/lumina-desktop/LDesktop.cpp
index eadf18c7..54d4ba11 100644
--- a/lumina-desktop/LDesktop.cpp
+++ b/lumina-desktop/LDesktop.cpp
@@ -170,7 +170,6 @@ void LDesktop::SettingsChanged(){
UpdateDesktop();
UpdatePanels();
UpdateMenu();
- issyncing = false;
QTimer::singleShot(200, this, SLOT(UnlockSettings()) ); //give it a few moments to settle before performing another sync
}
@@ -291,8 +290,7 @@ void LDesktop::UpdateDesktop(){
changingsettings=true; //don't let the change cause a refresh
settings->setValue(DPREFIX+"pluginlist", plugins);
settings->sync();
- //QTimer::singleShot(200, this, SLOT(UnlockSettings()) );
- changingsettings=false;
+ QTimer::singleShot(200, this, SLOT(UnlockSettings()) );
}
deskupdating = false;
}
diff --git a/lumina-desktop/LDesktop.h b/lumina-desktop/LDesktop.h
index e21ca19a..f052d0ec 100644
--- a/lumina-desktop/LDesktop.h
+++ b/lumina-desktop/LDesktop.h
@@ -75,7 +75,7 @@ private:
private slots:
void InitDesktop();
void SettingsChanged();
- void UnlockSettings(){ issyncing=false; }
+ void UnlockSettings(){ issyncing=false; changingsettings=false;}
//Menu functions
void UpdateMenu(bool fast = false);
void ShowMenu(){
bgstack15