Downgrade `StatusView:get_items` deprecation message to warning
This commit is contained in:
parent
82915bb217
commit
99d328cfd7
|
@ -606,7 +606,7 @@ end
|
||||||
---@return table right
|
---@return table right
|
||||||
function StatusView:get_items(nowarn)
|
function StatusView:get_items(nowarn)
|
||||||
if not nowarn and not self.get_items_warn then
|
if not nowarn and not self.get_items_warn then
|
||||||
core.error(
|
core.warn(
|
||||||
"Overriding StatusView:get_items() is deprecated, "
|
"Overriding StatusView:get_items() is deprecated, "
|
||||||
.. "use core.status_view:add_item() instead."
|
.. "use core.status_view:add_item() instead."
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue