mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-29 03:26:38 +00:00 
			
		
		
		
	Resolve merge issues and add back user preference setting for auto selecting a modified record.
(cherry picked from commit 321b1b5106a47500bffd4c78a66d3d6f44a06f5b) Conflicts: apps/opencs/model/settings/usersettings.cpp
This commit is contained in:
		
							parent
							
								
									fb3015c9b8
								
							
						
					
					
						commit
						007c733578
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		|  | @ -243,6 +243,11 @@ void CSMSettings::UserSettings::buildSettingModelDefaults() | |||
|         jumpToAdded->setDefaultValue (defaultValue); | ||||
|         jumpToAdded->setDeclaredValues (jumpValues); | ||||
| 
 | ||||
|         Setting *jumpToModified = createSetting (Type_CheckBox, "jump-to-modified", "Jump to modified Record"); | ||||
|         jumpToModified->setDefaultValue ("true"); | ||||
|         jumpToModified->setToolTip ("Whether to jump to the modified record. This setting effects the instances table only." | ||||
|                 "\nCan be useful in finding the moved or modified object instance while 3D editing."); | ||||
| 
 | ||||
|         Setting *extendedConfig = createSetting (Type_CheckBox, "extended-config", | ||||
|             "Manually specify affected record types for an extended delete/revert"); | ||||
|         extendedConfig->setDefaultValue("false"); | ||||
|  |  | |||
|  | @ -54,7 +54,8 @@ CSVWorld::TableSubView::TableSubView (const CSMWorld::UniversalId& id, CSMDoc::D | |||
|     autoJump->setToolTip ("Whether to jump to the modified record." | ||||
|                 "\nCan be useful in finding the moved or modified" | ||||
|                 "\nobject instance while 3D editing."); | ||||
|     autoJump->setCheckState(Qt::Unchecked); | ||||
|     autoJump->setCheckState( | ||||
|             userSettings.settingValue ("table-input/jump-to-modified") == "true" ? Qt::Checked : Qt::Unchecked); | ||||
|     connect(autoJump, SIGNAL (stateChanged(int)), mTable, SLOT (jumpAfterModChanged(int))); | ||||
|     optHLayout->insertWidget(0, autoJump); | ||||
|     optHLayout->insertWidget(1, added); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue