From ae523c9bbf32217d4ddd34f034c3329d06d3c71d Mon Sep 17 00:00:00 2001 From: Martijn Courteaux Date: Thu, 21 Aug 2025 21:15:36 +0200 Subject: [PATCH] Explain that you can also reset the values by deleting the config file. --- manual/tracy.tex | 1 + profiler/src/profiler/TracyView_Options.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/manual/tracy.tex b/manual/tracy.tex index c7b627c3..91489caa 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -3798,6 +3798,7 @@ Disabling the display of some events is especially recommended when the profiler It is possible to store defaults for the settings marked with a red \emph{\textcolor{red}{*}} to the global Tracy configuration file. This can be done using the \emph{Save current options as defaults} button at the bottom of the window, or by manually editing this configuration file (for which the path is indicated in the tooltip). Next time you use Tracy, these stored default options will be used instead. +For now, restoring the defaults can be done by deleting the configuration file. \subsection{Messages window} \label{messages} diff --git a/profiler/src/profiler/TracyView_Options.cpp b/profiler/src/profiler/TracyView_Options.cpp index 9be1bbee..59517a62 100644 --- a/profiler/src/profiler/TracyView_Options.cpp +++ b/profiler/src/profiler/TracyView_Options.cpp @@ -873,6 +873,8 @@ void View::DrawOptions() "Pressing this button stores their current values as the default values.\n\n" "Alternatively, you can manually adjust those default values by editing the config file at:" ); TextDisabledUnformatted( fn ); + ImGui::Spacing(); + ImGui::TextUnformatted( "For now, to restore the default values, you may delete this configuration file." ); ImGui::EndTooltip(); }