diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-06-13 01:24:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-06-13 01:24:50 +0200 |
| commit | eb970af6fa9ddc854f13c88d6d8fd3b4a1057b9c (patch) | |
| tree | f8ceedd28f8bfe82969ffe186b005f2681da9f6c /src/wx/report_problem_dialog.h | |
| parent | cb8567bf31d8b9678b524f644bfe6117b817e536 (diff) | |
Only enable report-problem "OK" button when an email address has been entered.
Previously we would let users get it wrong, then show an error and dump
them back without any report message they might have written.
Diffstat (limited to 'src/wx/report_problem_dialog.h')
| -rw-r--r-- | src/wx/report_problem_dialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/report_problem_dialog.h b/src/wx/report_problem_dialog.h index c43defd41..ad76795a3 100644 --- a/src/wx/report_problem_dialog.h +++ b/src/wx/report_problem_dialog.h @@ -39,6 +39,8 @@ public: void report(); private: + void setup_sensitivity(); + std::shared_ptr<Film> _film; wxSizer* _overall_sizer; |
