X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fsetformat.C;h=67366aa160789da444e7b130ead35d766c480e96;hp=cf8f1a2e4ffe869289b1ce95748b94e491c68e15;hb=a0ed17a5d6ecf2b010d977bc1f9b7226f24c20f6;hpb=050b37188b98a61408badd0582e0605a77275201 diff --git a/cinelerra-5.1/cinelerra/setformat.C b/cinelerra-5.1/cinelerra/setformat.C index cf8f1a2e..67366aa1 100644 --- a/cinelerra-5.1/cinelerra/setformat.C +++ b/cinelerra-5.1/cinelerra/setformat.C @@ -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 SetChannelsReset(thread, + add_subwindow(channels_reset = new SetChannelsReset(thread, 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(); - return 1; + return format_gui->channels_reset->handle_event(); } EDL* SetFormatPresets::get_edl()