Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"imgui.ini" getting saved as empty if NewFrame() not called #1741

Closed
gimblll opened this issue Apr 11, 2018 · 1 comment
Closed

"imgui.ini" getting saved as empty if NewFrame() not called #1741

gimblll opened this issue Apr 11, 2018 · 1 comment
Labels

Comments

@gimblll
Copy link

gimblll commented Apr 11, 2018

With version 1.60, if I CreateContext and DestroyContext without calling NewFrame once between them, the current imgui.ini file will be saved over by an empty file.

Could possibly be fixed by adding an 'if (g.SettingsLoaded)' before the shutdown save call.

@ocornut ocornut added the bug label Apr 11, 2018
ocornut added a commit that referenced this issue Apr 11, 2018
…text are called without a single call to NewFrame(). (#1741)
@ocornut
Copy link
Owner

ocornut commented Apr 11, 2018

That's correct. Fixed, thank you!

@ocornut ocornut closed this as completed Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants