Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes and improvement of NULL value handling in Edit DB Cell dock
Fix: NULL data are correctly indicated in the Cell Info footer when loading data from the database. Previously, the automatic trigger of editModeChanged when setting the text in the widget was causing the change to Text data type. Now the modified flag of the widget is taken into account. Fix: NULL values could not be overwritten with empty strings, since the old vs. new check was incorrectly returning false as the conversion to string was discarding the NULL information. Improvement: NULL values are visually indicated using the placeholder as already done in the Add Record dialog. The italic style is applied to both cases now for better indication and coherence to the browse data widget. Known problem: when the cell is changed from a JSON cell to a NULL cell and the automatic switch is on, the NULL information and visual indication are still lost.
- Loading branch information
Showing
2 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters