diff options
author | Martin Duffy <martin.duffy@kitware.com> | 2022-05-12 16:43:15 -0400 |
---|---|---|
committer | Martin Duffy <martin.duffy@kitware.com> | 2022-05-12 16:43:15 -0400 |
commit | 2defe9ff95016fd72e9a16b4a8fa8b8d0ec5a45f (patch) | |
tree | 5cf1d6aaf994622b6e21921dd7e027984b8ff922 /Source/CursesDialog/cmCursesMainForm.h | |
parent | e1c85e29f4a09b45fa3cb29e4f225e68c32d9932 (diff) | |
download | cmake-2defe9ff95016fd72e9a16b4a8fa8b8d0ec5a45f.tar.gz |
ccmake: Fix crash when deleting all cache entries
Prevents crash when deleting all cache entries.
Additionally, if advanced entries are hidden, no longer show the first advanced
entry when deleting all visible entries.
Fixes: #23499
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.h')
-rw-r--r-- | Source/CursesDialog/cmCursesMainForm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.h b/Source/CursesDialog/cmCursesMainForm.h index 9eb6418508..fb44a45a9b 100644 --- a/Source/CursesDialog/cmCursesMainForm.h +++ b/Source/CursesDialog/cmCursesMainForm.h @@ -161,6 +161,7 @@ protected: bool OkToGenerate = false; // Number of pages displayed int NumberOfPages = 0; + bool IsEmpty = false; int InitialWidth; std::unique_ptr<cmake> CMakeInstance; |