ins mixers, match all and move for mixer align, cr in xml string kludge, save_as...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / setformat.C
index cf8f1a2e4ffe869289b1ce95748b94e491c68e15..67366aa160789da444e7b130ead35d766c480e96 100644 (file)
@@ -330,7 +330,7 @@ void SetFormatWindow::create_objects()
        add_subwindow(new BC_Title(mwindow->theme->setformat_x1, y,
                _("Channel positions:")));
        y += mwindow->theme->setformat_margin;
        add_subwindow(new BC_Title(mwindow->theme->setformat_x1, y,
                _("Channel positions:")));
        y += mwindow->theme->setformat_margin;
-       add_subwindow(new SetChannelsReset(thread,
+       add_subwindow(channels_reset = new SetChannelsReset(thread,
                mwindow->theme->setformat_x1, y,
                _("Reset")));
        add_subwindow(canvas = new SetChannelsCanvas(mwindow,
                mwindow->theme->setformat_x1, y,
                _("Reset")));
        add_subwindow(canvas = new SetChannelsCanvas(mwindow,
@@ -508,7 +508,7 @@ SetFormatPresets::~SetFormatPresets()
 int SetFormatPresets::handle_event()
 {
        format_gui->thread->update();
 int SetFormatPresets::handle_event()
 {
        format_gui->thread->update();
-       return 1;
+       return format_gui->channels_reset->handle_event();
 }
 
 EDL* SetFormatPresets::get_edl()
 }
 
 EDL* SetFormatPresets::get_edl()