diff --git a/apps/opencs/view/world/startscriptcreator.cpp b/apps/opencs/view/world/startscriptcreator.cpp index 1ffcdf06a..891199027 100644 --- a/apps/opencs/view/world/startscriptcreator.cpp +++ b/apps/opencs/view/world/startscriptcreator.cpp @@ -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, diff --git a/apps/opencs/view/world/startscriptcreator.hpp b/apps/opencs/view/world/startscriptcreator.hpp index 473e2fd5f..72eb67bcc 100644 --- a/apps/opencs/view/world/startscriptcreator.hpp +++ b/apps/opencs/view/world/startscriptcreator.hpp @@ -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(