Fix readonly-columns in grids
Original Reporter info from Mantis: Joost
-
Reporter name: Joost van der Sluis
Original Reporter info from Mantis: Joost
- Reporter name: Joost van der Sluis
Description:
Readonly columns in grids didn't work, because to suppress keypresses the 'key' was set to an empty string. But when that was converted to a char later on by using key[1] it went wrong. The key should be set to #0.
And this patch also adds a check if the column can be changed when backspace is pressed.
log could be:
* Assign #0 to key to supress keypress in readonly column
* Check if a column is readonly on pressing backspace
Mantis conversion info:
- Mantis ID: 13174
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 36063 (#46a46e49)
- Monitored by: » LesKaye (Leslie Kaye)
- Target version: 1.0.0
- LazTarget: 1.0