Only show Editor if Advanced Settings is enabled

This commit is contained in:
MelonSpeedruns
2026-05-07 12:39:37 -04:00
parent 667cf70fa0
commit d15ed81cd5
4 changed files with 13 additions and 1 deletions
+2
View File
@@ -14,6 +14,7 @@
#include "pane.hpp"
#include "prelaunch.hpp"
#include "ui.hpp"
#include "menu_bar.hpp"
#include <algorithm>
@@ -871,6 +872,7 @@ SettingsWindow::SettingsWindow(bool prelaunch) : mPrelaunch(prelaunch) {
{
.key = "Enable Advanced Settings",
.helpText = "Show the advanced settings on the menu bar.<br/>Most users should have this disabled.",
.onChange = [](bool value) { get_document_stack()[0] = std::make_unique<MenuBar>(); },
});
});
}