From 129d8d9a5922eb3d4df9320418fb98dfbbadc053 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Tue, 5 Mar 2024 20:05:46 +0100 Subject: save previous search query to config and load on startup --- src/main_windows.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main_windows.cpp') diff --git a/src/main_windows.cpp b/src/main_windows.cpp index 1f64642..c574b2f 100644 --- a/src/main_windows.cpp +++ b/src/main_windows.cpp @@ -10,6 +10,7 @@ #include "array.h" #include "memory_bucket.h" #include "image.h" +#include "config.h" #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif @@ -107,6 +108,7 @@ int main(int, char**) ts_init(); ts_load_images(); + ts_load_config(); ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); bool done = false; -- cgit v1.2.3-70-g09d2