Fix KOsync crash when closing document (#2911)

This commit is contained in:
Hzj_jie
2017-05-20 23:36:41 -07:00
committed by Frans de Jonge
parent 66b0c54d4d
commit cc020b901a

View File

@@ -605,6 +605,7 @@ function KOSync:_onResume()
end
function KOSync:_onFlushSettings()
if self.ui == nil or self.ui.document == nil then return end
self:updateProgress()
end