properly close ReaderConfig on screen rotate

This commit is contained in:
Qingping Hou
2013-02-04 15:03:17 +08:00
parent ae6c4bd03a
commit cc5a431b70

View File

@@ -102,7 +102,7 @@ function ReaderConfig:onSetDimensions(dimen)
-- since we cannot redraw config_dialog with new size, we close
-- the old one on screen size change
if self.config_dialog then
self.config_dialog.close_callback()
self.config_dialog:closeDialog()
end
end