Fixed Delete key in Fl_Input deleting entire widgets in Fluid (STR #2841).
This commit is contained in:
parent
d6294ac2fc
commit
0698e16a6b
@ -145,6 +145,7 @@ Changes in FLTK 1.4.0 Released: ??? ?? 2019
|
|||||||
Bug Fixes
|
Bug Fixes
|
||||||
|
|
||||||
- (add new items here)
|
- (add new items here)
|
||||||
|
- Fixed Delete key in Fl_Input deleting entire widgets in Fluid (STR #2841).
|
||||||
- Reorganized Fluid Template feature (STR #3336).
|
- Reorganized Fluid Template feature (STR #3336).
|
||||||
- Updated Fluid documentation and image (STR #3328).
|
- Updated Fluid documentation and image (STR #3328).
|
||||||
- Duplicating Widget Class in Fluid no longer crashes (STR #3445).
|
- Duplicating Widget Class in Fluid no longer crashes (STR #3445).
|
||||||
|
|||||||
@ -177,8 +177,9 @@ int Fl_Input::kf_delete_eol() {
|
|||||||
|
|
||||||
int Fl_Input::kf_delete_char_right() {
|
int Fl_Input::kf_delete_char_right() {
|
||||||
if (readonly()) { fl_beep(); return 1; }
|
if (readonly()) { fl_beep(); return 1; }
|
||||||
if (mark() != position()) return cut();
|
if (mark() != position()) cut();
|
||||||
else return cut(1);
|
else cut(1);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int Fl_Input::kf_delete_char_left() {
|
int Fl_Input::kf_delete_char_left() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user