Fix missing buttons for ratings lists.
authorCarl Hetherington <cth@carlh.net>
Sun, 28 Aug 2022 19:54:03 +0000 (21:54 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 28 Aug 2022 20:56:42 +0000 (22:56 +0200)
src/wx/interop_metadata_dialog.cc
src/wx/smpte_metadata_dialog.cc

index 515127b84b39700b7c715eb54c770f9f0766ad0e..c0be1be28919e3ad0b843923d524c051515479de 100644 (file)
@@ -75,7 +75,7 @@ InteropMetadataDialog::setup_standard (wxPanel* panel, wxSizer* sizer)
                        return r.label;
                },
                true,
-               false
+               EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE
                );
        sizer->Add (_ratings, 1, wxEXPAND);
 
index 54b6da0d4651de53968774b6542c04ecd7c2ae73..3838c8a6c06e7cfcfd84cbf08f09816b4bc776b6 100644 (file)
@@ -94,7 +94,7 @@ SMPTEMetadataDialog::setup_standard (wxPanel* panel, wxSizer* sizer)
                boost::bind(&SMPTEMetadataDialog::set_ratings, this, _1),
                boost::bind(&ratings_column, _1, _2),
                true,
-               false
+               EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE
                );
        sizer->Add (_ratings, 1, wxEXPAND);
 }