mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
SSH plugin: fix menu refreshing on check
This commit is contained in:
@@ -170,8 +170,8 @@ function SSH:addToMainMenu(menu_items)
|
||||
sub_item_table = {
|
||||
{
|
||||
text = _("SSH server"),
|
||||
keep_menu_open = true,
|
||||
checked_func = function() return self:isRunning() end,
|
||||
on_check_updated_in_callback = true,
|
||||
callback = function(touchmenu_instance)
|
||||
self:onToggleSSHServer()
|
||||
-- sleeping might not be needed, but it gives the feeling
|
||||
|
||||
Reference in New Issue
Block a user