summaryrefslogtreecommitdiff
path: root/src/ui/ui_tax.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@mailbox.org>2026-01-02 19:13:03 +0100
committerAldrik Ramaekers <aldrik@mailbox.org>2026-01-02 19:13:03 +0100
commit2218ef68056ebc5a3a416e2dd7e8e020fba60a4f (patch)
tree5d66166298ebef999956dd0386ee3b433d9507a2 /src/ui/ui_tax.cpp
parentb65e7f01fb9be5d7ffe8b9c9c4c8eba67cd902ee (diff)
ui improvements
Diffstat (limited to 'src/ui/ui_tax.cpp')
-rw-r--r--src/ui/ui_tax.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/ui_tax.cpp b/src/ui/ui_tax.cpp
index af05cd7..a89bd7a 100644
--- a/src/ui/ui_tax.cpp
+++ b/src/ui/ui_tax.cpp
@@ -37,6 +37,8 @@ void ui::destroy_tax_report()
void ui::draw_tax_report()
{
+ if (ImGui::InvalidCompanyInfoWarning()) return;
+
static s32 current_page = 0;
s32 max_page = statement->report_count;