resize: Fix a possible error

This commit is contained in:
Emmanuel Lepage Vallee 2016-09-14 01:38:32 -04:00
parent 336aac11b1
commit 1dae172d8b
1 changed files with 4 additions and 0 deletions

View File

@ -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