Closed eriharriso closed 3 weeks ago
@eriharriso Should be fixed now.
You still get an empty file when you finish editing if the database points to a non-existing path. I think the real culprit here could be _ValidationTask.run()
or someplace else where we call check_database_url()
before properly checking if the SQLite file exists (note that other, non-file based databases do not have files).
Also, please revert the textChanged
-> editingFinished
change. Using the editingFinished
signal to track changes in LineEdits forces users to press Enter or accept their edit in some other way to apply the changes which just does not feel natural. Wiring the updates to textChanged
makes the UI more fluid.
'The fix' has been reverted.
What I was doing: changed the path to my sqlite Data Store in the Data Store Properties URL menu ("Database:" text box). Specifically, I changed the name of the data store from "ines-spec" to "ines-spec_only_structure".
What happened: empty sqlite files were created in the same folder for each letter I added to the new name (see figure).
What I expected: for Toolbox to simply look for the data store in the specified path without creating any extra files.
Version: installed from source in Sep 10 2024.