properly close ReaderConfig on screen rotate

pull/2/merge
Qingping Hou 11 years ago
parent ae6c4bd03a
commit cc5a431b70

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

Loading…
Cancel
Save