Update toolbarview.lua
This commit is contained in:
parent
46aaf57b45
commit
60322a93a8
|
@ -84,7 +84,7 @@ end
|
|||
|
||||
function ToolbarView:on_mouse_pressed(button, x, y, clicks)
|
||||
local caught = ToolbarView.super.on_mouse_pressed(self, button, x, y, clicks)
|
||||
if caught then return false end
|
||||
if caught then return caught end
|
||||
core.set_active_view(core.last_active_view)
|
||||
if self.hovered_item then
|
||||
command.perform(self.hovered_item.command)
|
||||
|
|
Loading…
Reference in New Issue