use new action map API instead of ActionManager::get_action
[ardour.git] / scripts / track_organizer.lua
index 007b1363563e1260aff010e1753c9cc033a7e02f..15caf2c9ff65ce1b9d5e4bd6345ada7768473bbc 100644 (file)
@@ -63,12 +63,6 @@ function factory () return function ()
        }) --color
    end
 
-   table.insert(dialog_options, {
-      { type = "label", colspan="3", title = "" },
-      { type = "label", colspan="3", title = "Note that this is a script which can be user-edited to match your needs." },
-      { type = "label", colspan="3", title = "" },
-   })
-
    --run dialog_options
    local rv = LuaDialog.Dialog("Track Organizer", dialog_options):run()
    if not(rv) then goto script_end end
@@ -101,6 +95,6 @@ function factory () return function ()
            end
        end
    end
-
        ::script_end::
+       collectgarbage()
 end end