X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fwwindow.C;h=cdfa5349526c6470234d904a16763eb2cc88d2b0;hb=cdb8b00f2f7ecf0b4910a40e1d90a87540d2891d;hp=8bbc8352cf9a5ec33c4b1bcdbf7d2f2b1969e8b5;hpb=a64e7d16c44bba0d137936227fc55871bb26c903;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/wwindow.C b/cinelerra-5.1/cinelerra/wwindow.C index 8bbc8352..cdfa5349 100644 --- a/cinelerra-5.1/cinelerra/wwindow.C +++ b/cinelerra-5.1/cinelerra/wwindow.C @@ -84,7 +84,8 @@ void WWindowGUI::create_objects() int x = 10, y = 10; add_subwindow(new BC_TextBox(x, y, get_w()-50, 3, thread->warn_text)); y = get_h() - 30; - add_subwindow(new WDisable(this, x, y)); + if( thread->do_warning ) + add_subwindow(new WDisable(this, x, y)); y = get_h() - BC_CancelButton::calculate_h() - 10; x = get_w() - BC_CancelButton::calculate_w() - 10; add_subwindow(new BC_CancelButton(x, y));