diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-14 19:58:42 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-14 19:58:42 +0100 |
| commit | 20b2ab12bacd261cbb9d91fc1ed96811bd77f1f4 (patch) | |
| tree | 8f4cfd25f8b948d6a1d1780f80c8bdb5ee5c6d41 /src | |
| parent | f2f44dfce609b7f5b228e61829d454b5c8c2734a (diff) | |
small ui fix
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 584f0a8..ba087a5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -143,7 +143,7 @@ static int _ts_create_menu(int window_w, int window_h) { if (ImGui::BeginMenu("File")) { if (ImGui::MenuItem("Open")) { - ifd::FileDialog::Instance().Save("FileOpenDialog", "Open file", "File (*.csv){.csv}"); + ifd::FileDialog::Instance().Open("FileOpenDialog", "Open file", "File (*.csv){.csv}"); } if (ImGui::MenuItem("Save")) { if (strlen(save_path) == 0) |
