summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-06-16 12:27:17 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-06-16 12:27:17 +0100
commit7f14bb09be25c3e02ab5d7c921916d739d08e6f9 (patch)
treea94245965118032cf4386f015e823f1c7f577ddd
parentRemove initialisation order debug (diff)
downloadilt-7f14bb09be25c3e02ab5d7c921916d739d08e6f9.tar.bz2
ilt-7f14bb09be25c3e02ab5d7c921916d739d08e6f9.tar.xz
ilt-7f14bb09be25c3e02ab5d7c921916d739d08e6f9.zip
Disable saving settings automagically
-rw-r--r--ui/applicationBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/applicationBase.cpp b/ui/applicationBase.cpp
index 3fa6e2b..b945dca 100644
--- a/ui/applicationBase.cpp
+++ b/ui/applicationBase.cpp
@@ -43,6 +43,7 @@ ApplicationBase::initImGUI() const
io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; // Enable docking
io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable; // Enable viewports
+ io.IniFilename = nullptr; // Disable saving settings automagically
}
ApplicationBase::~ApplicationBase()