summaryrefslogtreecommitdiff
path: root/src/ui/ui_invoices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_invoices.cpp')
-rw-r--r--src/ui/ui_invoices.cpp4
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();