13
0

changes to the Draw options should immediately sync state to instant.xml

This commit is contained in:
Ben Loftis 2022-02-01 16:33:39 -06:00
parent b7a3de126c
commit 26beea89ea

View File

@ -2243,6 +2243,8 @@ Editor::set_draw_length_to (GridType gt)
if (str != draw_length_selector.get_text()) { if (str != draw_length_selector.get_text()) {
draw_length_selector.set_text (str); draw_length_selector.set_text (str);
} }
instant_save ();
} }
void void
@ -2262,6 +2264,8 @@ Editor::set_draw_velocity_to (int v)
char buf[64]; char buf[64];
sprintf(buf, "%d", v ); sprintf(buf, "%d", v );
draw_velocity_selector.set_text (buf); draw_velocity_selector.set_text (buf);
instant_save ();
} }
void void
@ -2281,6 +2285,8 @@ Editor::set_draw_channel_to (int c)
char buf[64]; char buf[64];
sprintf(buf, "%d", c+1 ); sprintf(buf, "%d", c+1 );
draw_channel_selector.set_text (buf); draw_channel_selector.set_text (buf);
instant_save ();
} }
void void