mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 14:56:44 +00:00 
			
		
		
		
	Editor: Remove overridden configureCreateCommand
StartScriptCreator was incorrectly overriding configureCreateCommand. This caused issues trying to edit an uneditable column while adding a new record.
This commit is contained in:
		
							parent
							
								
									e6863c8f79
								
							
						
					
					
						commit
						547d783eac
					
				
					 2 changed files with 0 additions and 13 deletions
				
			
		|  | @ -24,15 +24,6 @@ CSMWorld::IdTable& CSVWorld::StartScriptCreator::getStartScriptsTable() const | |||
|     ); | ||||
| } | ||||
| 
 | ||||
| void CSVWorld::StartScriptCreator::configureCreateCommand(CSMWorld::CreateCommand& command) const | ||||
| { | ||||
|     CSMWorld::IdTable& table = getStartScriptsTable(); | ||||
|     int column = table.findColumnIndex(CSMWorld::Columns::ColumnId_Id); | ||||
| 
 | ||||
|     // Set script ID to be added to start scripts table.
 | ||||
|     command.addValue(column, mScript->text()); | ||||
| } | ||||
| 
 | ||||
| CSVWorld::StartScriptCreator::StartScriptCreator( | ||||
|     CSMWorld::Data &data, | ||||
|     QUndoStack &undoStack, | ||||
|  |  | |||
|  | @ -31,10 +31,6 @@ namespace CSVWorld | |||
|             /// \return reference to table containing start scripts.
 | ||||
|             CSMWorld::IdTable& getStartScriptsTable() const; | ||||
| 
 | ||||
|             /// \brief Add user input to command for creating start script.
 | ||||
|             /// \param command Creation command to configure.
 | ||||
|             virtual void configureCreateCommand(CSMWorld::CreateCommand& command) const; | ||||
| 
 | ||||
|         public: | ||||
| 
 | ||||
|             StartScriptCreator( | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue