properly close ReaderConfig on screen rotate
This commit is contained in:
1 parent
ae6c4bd03a
commit
cc5a431b70
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user