summaryrefslogtreecommitdiff
path: root/src/wx/film_editor.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-08-08 18:11:11 +0200
committerCarl Hetherington <cth@carlh.net>2023-08-09 10:18:46 +0200
commita3c1ae7c2e46b65347341896b3d1a505ff92632b (patch)
tree2b096eb0676f52c9989952e341f2bd98143ce125 /src/wx/film_editor.cc
parentaf5b9dfadf8989311cd5f78554349f0283912522 (diff)
Extract Film::Property to its own header to (maybe) increase compilation speed.
Diffstat (limited to 'src/wx/film_editor.cc')
-rw-r--r--src/wx/film_editor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index e602f9333..9f54db58e 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -76,7 +76,7 @@ FilmEditor::FilmEditor(wxWindow* parent, FilmViewer& viewer)
* @param p Property of the Film that has changed.
*/
void
-FilmEditor::film_change (ChangeType type, Film::Property p)
+FilmEditor::film_change(ChangeType type, FilmProperty p)
{
if (type != ChangeType::DONE) {
return;
@@ -91,7 +91,7 @@ FilmEditor::film_change (ChangeType type, Film::Property p)
_content_panel->film_changed (p);
_dcp_panel->film_changed (p);
- if (p == Film::Property::CONTENT && !_film->content().empty()) {
+ if (p == FilmProperty::CONTENT && !_film->content().empty()) {
/* Select newly-added content */
_content_panel->set_selection (_film->content().back ());
}