diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-01 20:42:01 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-01 20:42:01 +0200 |
| commit | 69326e73b29be371dacbdacd741a0a88a5ef1a5b (patch) | |
| tree | e2766e3cf8eb2be0f0bdcb77bbbd7e52aff3229d /src/wx/screen_dialog.cc | |
| parent | 09287979ce90e809880cd17fb20deb23669f68e4 (diff) | |
Fix two more badly-adapted instantiations of EditableList and make
it harder to make similar errors in the future.
Diffstat (limited to 'src/wx/screen_dialog.cc')
| -rw-r--r-- | src/wx/screen_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index 58ea8a328..38e6a85bf 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -178,8 +178,8 @@ ScreenDialog::ScreenDialog ( [] (TrustedDevice const& d, int) { return d.thumbprint(); }, - EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE, - false + EditableListTitle::INVISIBLE, + EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); _sizer->Add (_trusted_device_list, wxGBPosition (r, 0), wxGBSpan (1, 3), wxEXPAND); |
