added start script table

celladd
Marc Zinnschlag 10 years ago
parent 4e1c086d6a
commit a148b851c0

@ -173,6 +173,10 @@ void CSVDoc::View::setupMechanicsMenu()
QAction *effects = new QAction (tr ("Magic Effects"), this);
connect (effects, SIGNAL (triggered()), this, SLOT (addMagicEffectsSubView()));
mechanics->addAction (effects);
QAction *startScripts = new QAction (tr ("Start Scripts"), this);
connect (startScripts, SIGNAL (triggered()), this, SLOT (addStartScriptsSubView()));
mechanics->addAction (startScripts);
}
void CSVDoc::View::setupCharacterMenu()
@ -716,6 +720,11 @@ void CSVDoc::View::addPathgridSubView()
addSubView (CSMWorld::UniversalId::Type_Pathgrids);
}
void CSVDoc::View::addStartScriptsSubView()
{
addSubView (CSMWorld::UniversalId::Type_StartScripts);
}
void CSVDoc::View::abortOperation (int type)
{
mDocument->abortOperation (type);

@ -215,6 +215,8 @@ namespace CSVDoc
void addPathgridSubView();
void addStartScriptsSubView();
void toggleShowStatusBar (bool show);
void loadErrorLog();

@ -43,6 +43,7 @@ void CSVWorld::addSubViewFactories (CSVDoc::SubViewFactoryManager& manager)
CSMWorld::UniversalId::Type_BodyParts,
CSMWorld::UniversalId::Type_SoundGens,
CSMWorld::UniversalId::Type_Pathgrids,
CSMWorld::UniversalId::Type_StartScripts,
CSMWorld::UniversalId::Type_None // end marker
};
@ -123,6 +124,7 @@ void CSVWorld::addSubViewFactories (CSVDoc::SubViewFactoryManager& manager)
CSMWorld::UniversalId::Type_BodyPart,
CSMWorld::UniversalId::Type_SoundGen,
CSMWorld::UniversalId::Type_Pathgrid,
CSMWorld::UniversalId::Type_StartScript,
CSMWorld::UniversalId::Type_None // end marker
};

Loading…
Cancel
Save