TextEdit should trigger Model save, not Radio save

This commit is contained in:
Peter Feerick
2021-07-16 21:11:23 +10:00
parent 2599c773e2
commit acd84f917a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ class MixEditWindow : public Page
// Mix name // Mix name
new StaticText(window, grid.getLabelSlot(), STR_MIXNAME); new StaticText(window, grid.getLabelSlot(), STR_MIXNAME);
new RadioTextEdit(window, grid.getFieldSlot(), mix->name, new ModelTextEdit(window, grid.getFieldSlot(), mix->name,
sizeof(mix->name)); sizeof(mix->name));
grid.nextLine(); grid.nextLine();
+1 -1
View File
@@ -60,7 +60,7 @@ class OutputEditWindow : public Page {
// Name // Name
new StaticText(window, grid.getLabelSlot(), STR_NAME); new StaticText(window, grid.getLabelSlot(), STR_NAME);
new RadioTextEdit(window, grid.getFieldSlot(), output->name, sizeof(output->name)); new ModelTextEdit(window, grid.getFieldSlot(), output->name, sizeof(output->name));
grid.nextLine(); grid.nextLine();
// Offset // Offset