xlat default theme name, fix stop blunder
[goodguy/history.git] / cinelerra-5.1 / cinelerra / assetpopup.C
index bc556ae61a09936e6f75570219ef95e40f0fabcf..670e088299dbd96a59081759ed36ad0e673e4922 100644 (file)
@@ -515,9 +515,9 @@ AssetListPaste::~AssetListPaste()
 int AssetListPaste::handle_event()
 {
        if( !paste_dialog )
-               paste_dialog->close_window();
-       else
                paste_dialog = new AssetPasteDialog(this);
+       else
+               paste_dialog->close_window();
        int cur_x, cur_y;
        gui->get_abs_cursor_xy(cur_x, cur_y, 0);
        paste_dialog->start(cur_x, cur_y);