mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
press Enter in Goto Dialog will goto page/location directly
This commit is contained in:
@@ -7,6 +7,7 @@ InputDialog = InputContainer:new{
|
||||
input_hint = "",
|
||||
buttons = nil,
|
||||
input_type = nil,
|
||||
enter_callback = nil,
|
||||
|
||||
width = nil,
|
||||
height = nil,
|
||||
@@ -38,6 +39,7 @@ function InputDialog:init()
|
||||
face = self.input_face,
|
||||
width = self.width * 0.9,
|
||||
input_type = self.input_type,
|
||||
enter_callback = self.enter_callback,
|
||||
scroll = false,
|
||||
parent = self,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user