Show a dummy toolbar

Does not do anything for the moment
This commit is contained in:
Francesco Abbate
2021-02-12 15:54:11 +01:00
parent 7137f88b4c
commit 2765cbd92b
4 changed files with 66 additions and 34 deletions
+4
View File
@@ -402,6 +402,10 @@ function core.init()
local cur_node = core.root_view.root_node
cur_node.is_primary_node = true
cur_node = cur_node:split("down", core.command_view, true)
local got_toolbar, ToolbarView = core.try(require, "plugins.toolbarview")
if got_toolbar then
cur_node = cur_node:split("up", ToolbarView(), true)
end
cur_node = cur_node:split("down", core.status_view, true)
core.project_scan_thread_id = core.add_thread(project_scan_thread)