mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 21:39:49 +02:00
LCL: GTK2, fix offset by one when selecting and editing text in TEdit. Patch from Bart Broersma, issue #19220
git-svn-id: trunk@30461 -
This commit is contained in:
parent
aa6ce5e7cf
commit
4b1f5f2192
@ -436,7 +436,7 @@ begin
|
||||
// if we change selstart in OnChange event new cursor pos need to
|
||||
// be postponed in TGtk2WSCustomEdit.SetSelStart
|
||||
NeedCursorCheck := True;
|
||||
gtk_editable_set_position(PGtkEditable(Widget), GStart + 1);
|
||||
gtk_editable_set_position(PGtkEditable(Widget), GStart);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user