Fix #2176 - Wrong book's review and rating stars are shown

pull/2586/head
robert00s 7 years ago committed by Frans de Jonge
parent 21f6c7dcc6
commit 8b95b8fd96

@ -61,7 +61,16 @@ function BookStatusWidget:init()
}
self:getStatisticsSettings()
if self.settings then
self.summary = self.settings:readSetting("summary")
if self.settings:readSetting("summary") ~= nil then
self.summary = self.settings:readSetting("summary")
else
self.summary = {
rating = nil,
note = nil,
status = "",
modified = "",
}
end
end
self.small_font_face = Font:getFace("ffont", 15)

Loading…
Cancel
Save