Re-added inadvertently removed module options

This commit is contained in:
Raphael Coeffic
2021-11-11 08:13:53 +01:00
parent 5142d9f4fc
commit 78442c1cec
+9
View File
@@ -1197,6 +1197,15 @@ class ModuleWindow : public FormGroup {
});
grid.nextLine();
new StaticText(this, grid.getLabelSlot(true), TR_OPTIONS, 0,
COLOR_THEME_PRIMARY1);
auto options = new TextButton(this, grid.getFieldSlot(2, 0), TR_SET);
options->setPressHandler([=]() {
new ModuleOptions(this, moduleIdx);
return 0;
});
grid.nextLine();
}
#endif