Skip to content

Commit 6ddc6c5

Browse files
authored
qtfred always generates sexps file (scp-fs2open#7452)
1 parent 3d43ddb commit 6ddc6c5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

qtfred/src/mission/management.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <model/modelreplace.h>
2525
#include <nebula/neb.h>
2626
#include <nebula/neblightning.h>
27+
#include <parse/sexp.h>
2728
#include <parse/sexp/sexp_lookup.h>
2829
#include <prop/prop.h>
2930
#include <scripting/scripting.h>
@@ -198,6 +199,11 @@ initialize(const std::string& cfilepath, int argc, char* argv[], Editor* editor,
198199
listener(SubSystem::SEXPs);
199200
sexp_startup();
200201

202+
// Regenerate sexps.html for the Help Topics dialog. Mirrors the FS2 -output_sexps
203+
// behavior so QtFRED's SEXP Operator Reference always reflects the current operator
204+
// table in the help dialog
205+
output_sexps("sexps.html");
206+
201207
listener(SubSystem::Objects);
202208
obj_init();
203209

0 commit comments

Comments
 (0)