Introduce View objects context property

Used to determine if an instance of the given class should
be closed or not when a project session is terminated.
This commit is contained in:
Francesco Abbate
2021-08-27 23:55:17 +02:00
parent 9592ce85f5
commit d46475532f
6 changed files with 10 additions and 4 deletions
+1
View File
@@ -5,6 +5,7 @@ local View = require "core.view"
local LogView = View:extend()
LogView.context = "session"
function LogView:new()
LogView.super.new(self)