Skip to content

Fix: Preserve leading spaces in database structure view (Issue #3893)#4091

Open
Sohoocelery wants to merge 1 commit intosqlitebrowser:masterfrom
Sohoocelery:patch-1
Open

Fix: Preserve leading spaces in database structure view (Issue #3893)#4091
Sohoocelery wants to merge 1 commit intosqlitebrowser:masterfrom
Sohoocelery:patch-1

Conversation

@Sohoocelery
Copy link

Summary

Fixes issue #3893 where leading spaces in table and column names are being collapsed in the database structure view.

Changes

  • Changed simplified() to trimmed() on line 58 of DbStructureModel.cpp
  • simplified() collapses all whitespace (including leading/trailing and internal)
  • trimmed() only removes leading and trailing whitespace, preserving internal spaces

Related Issues

Closes #3893

… simplified() with trimmed() to preserve whitespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Leading spaces in name are collapsed in db structure

1 participant