diff options
| author | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-11 12:48:05 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-11 12:48:05 +0100 |
| commit | 08d42688d851eb134da496be721e234f53ff8d0b (patch) | |
| tree | 5c8a448a42cd8ec4dc35c55edef85f0063b9a50a /src/ui/ui_invoices.cpp | |
| parent | ccbc6a8f0836583fabd59919bd7930d7cfe1473e (diff) | |
fix warnings
Diffstat (limited to 'src/ui/ui_invoices.cpp')
| -rw-r--r-- | src/ui/ui_invoices.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ui_invoices.cpp b/src/ui/ui_invoices.cpp index 7356207..c222050 100644 --- a/src/ui/ui_invoices.cpp +++ b/src/ui/ui_invoices.cpp @@ -225,8 +225,8 @@ static void draw_invoice_form(invoice* buffer, bool viewing_only = false) ImGui::Separator(); ImGui::Spacing(); - if (ImGui::FileSelect(locale::get("ui.fileselect.text"), buffer->document.original_path)) { - buffer->document.copy_path[0] = 0; + if (ImGui::FileSelect(locale::get("ui.fileselect.text"), buffer->orig_document.original_path)) { + buffer->orig_document.copy_path[0] = 0; } ImGui::Spacing(); |
