From: Good Guy Date: Mon, 11 Jun 2018 00:11:59 +0000 (-0600) Subject: repair gui close behavior X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=1baa507d5e5bff7918b9b579f018fd74636797fe;p=goodguy%2Fhistory.git repair gui close behavior --- diff --git a/cinelerra-5.1/cinelerra/pluginlv2ui.C b/cinelerra-5.1/cinelerra/pluginlv2ui.C index b8f99ab1..03e656d7 100644 --- a/cinelerra-5.1/cinelerra/pluginlv2ui.C +++ b/cinelerra-5.1/cinelerra/pluginlv2ui.C @@ -256,8 +256,11 @@ int PluginLV2ChildUI::run_ui() if( hidden < 0 ) { gui->top_level = 0; reset_gui(); - done = -1; - break; + if( !is_forked() ) { + done = -1; + break; + } + hidden = 1; } if( updates ) { if( (updates & UPDATE_PORTS) )