diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-08-10 19:03:46 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-08-10 19:03:46 +0200 |
| commit | 572caa74ed824fefa02eb81adc7639a783f243c7 (patch) | |
| tree | 9938efe957a708a3642c19a03fdacaaa2b0618d5 /src/ui/ui_projects.cpp | |
| parent | 3c83a2d06cf33429ca0e654a415fc95581df46e1 (diff) | |
working on invoice form
Diffstat (limited to 'src/ui/ui_projects.cpp')
| -rw-r--r-- | src/ui/ui_projects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_projects.cpp b/src/ui/ui_projects.cpp index 5cb412f..3c550a2 100644 --- a/src/ui/ui_projects.cpp +++ b/src/ui/ui_projects.cpp @@ -45,7 +45,7 @@ static void draw_project_form() if (viewing_only) ImGui::EndDisabled(); if (!viewing_only) { - bool can_save = strlen(active_project.description) > 0; + bool can_save = administration_is_project_valid(active_project); if (!can_save) ImGui::BeginDisabled(); // Save button |
