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=59e74f262d7b6be235f2bbfaac35ef4274f52dc9;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 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()