BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
913517f1
Commit
913517f1
authored
Apr 13, 2018
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_kb: before ok/close action don't deassign the lv_ta if there is user defived action
parent
0d385c23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
lv_kb.c
lv_objx/lv_kb.c
+8
-4
No files found.
lv_objx/lv_kb.c
View file @
913517f1
...
...
@@ -387,14 +387,18 @@ static lv_res_t lv_app_kb_action(lv_obj_t * kb, const char * txt)
return
LV_RES_OK
;
}
else
if
(
strcmp
(
txt
,
SYMBOL_CLOSE
)
==
0
)
{
lv_kb_set_ta
(
kb
,
NULL
);
/*De-assign the text area*/
if
(
ext
->
hide_action
)
ext
->
hide_action
(
kb
);
else
lv_obj_del
(
kb
);
else
{
lv_kb_set_ta
(
kb
,
NULL
);
/*De-assign the text area to hide it cursor if needed*/
lv_obj_del
(
kb
);
}
return
LV_RES_INV
;
}
else
if
(
strcmp
(
txt
,
SYMBOL_OK
)
==
0
)
{
lv_kb_set_ta
(
kb
,
NULL
);
/*De-assign the text area*/
if
(
ext
->
ok_action
)
ext
->
ok_action
(
kb
);
else
lv_obj_del
(
kb
);
else
{
lv_kb_set_ta
(
kb
,
NULL
);
/*De-assign the text area to hide it cursor if needed*/
lv_obj_del
(
kb
);
}
return
LV_RES_INV
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment