resize: Fix a possible error
This commit is contained in:
parent
336aac11b1
commit
1dae172d8b
|
@ -81,8 +81,12 @@ local function create_indicators()
|
|||
end
|
||||
|
||||
function module.hide()
|
||||
if not indicators then return end
|
||||
|
||||
for k,v in ipairs(values) do indicators[v].visible = false end
|
||||
|
||||
if not cur_c then return end
|
||||
|
||||
cur_c:disconnect_signal("property::geometry", module.display)
|
||||
cur_c = nil
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue