X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fsetformat.C;h=67366aa160789da444e7b130ead35d766c480e96;hb=017728ea68874203d45b3f16050626d540608e35;hp=cf8f1a2e4ffe869289b1ce95748b94e491c68e15;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git 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()