diff --git a/standalone/src/main.cpp b/standalone/src/main.cpp index 6ff7ef67..3045f695 100755 --- a/standalone/src/main.cpp +++ b/standalone/src/main.cpp @@ -4,6 +4,7 @@ #include #include #include +#include "../nfd/nfd.h" #include "../../server/TracyView.hpp" @@ -61,6 +62,16 @@ int main(int, char**) { view = std::make_unique( addr ); } + ImGui::Separator(); + if( ImGui::Button( "Open saved trace" ) ) + { + nfdchar_t* fn; + auto res = NFD_OpenDialog( "tracy", nullptr, &fn ); + if( res == NFD_OKAY ) + { + + } + } ImGui::End(); } else