prevent popup deactivation while button_down
[goodguy/history.git] / cinelerra-5.0 / cinelerra / presetsgui.C
index c5dbe8e9ea8d9544bfeac03548c5ba097baf7c87..dad7f35cd920cf703399bca539cbd2c294e7c220 100644 (file)
@@ -63,6 +63,7 @@ PresetsThread::PresetsThread(MWindow *mwindow)
 
 PresetsThread::~PresetsThread()
 {
+       close_window();
        delete data;
 }
 
@@ -85,7 +86,7 @@ void PresetsThread::start_window(Plugin *plugin)
        {
                this->plugin = plugin;
                plugin->calculate_title(plugin_title, 0);
-               sprintf(window_title, PROGRAM_NAME ": %s Presets", plugin_title);
+               sprintf(window_title, _(PROGRAM_NAME ": %s Presets"), plugin_title);
 
 
 // Calculate database