Browse Source

Fix loading of haptic feedback toggle state

Ivan Savenko 1 year ago
parent
commit
8d779d704d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      launcher/settingsView/csettingsview_moc.cpp

+ 1 - 1
launcher/settingsView/csettingsview_moc.cpp

@@ -166,7 +166,7 @@ void CSettingsView::loadToggleButtonSettings()
 	setCheckbuttonState(ui->buttonAutoSavePrefix, settings["general"]["useSavePrefix"].Bool());
 
 	setCheckbuttonState(ui->buttonRelativeCursorMode, settings["general"]["userRelativePointer"].Bool());
-	setCheckbuttonState(ui->buttonHapticFeedback, settings["launcher"]["hapticFeedback"].Bool());
+	setCheckbuttonState(ui->buttonHapticFeedback, settings["general"]["hapticFeedback"].Bool());
 
 	std::string cursorType = settings["video"]["cursor"].String();
 	int cursorTypeIndex = vstd::find_pos(cursorTypesList, cursorType);