Skip to content

Fix saving of settings.ini#260

Merged
hugtalbot merged 1 commit intosofa-framework:masterfrom
alxbilger:fixinisave
Jan 15, 2026
Merged

Fix saving of settings.ini#260
hugtalbot merged 1 commit intosofa-framework:masterfrom
alxbilger:fixinisave

Conversation

@alxbilger
Copy link
Contributor

The first time SofaImGui runs, the folder imgui does not exist in config directory. That is why we have the function ensureFolderExists. However, the function does not take the full path. Therefore, the folder still does not exist. Because of that, it is not possible to save the ini file in this folder.

Later in the code, the folder is created, and the ini file can be saved.

This PR fixes the call to ensureFolderExists so that the ini file is saved the first time.

@hugtalbot hugtalbot merged commit 98206ba into sofa-framework:master Jan 15, 2026
8 checks passed
bakpaul pushed a commit that referenced this pull request Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants