projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abf81c1
)
Fix crash when changing ISDCF name part length (#2690).
author
Carl Hetherington
<cth@carlh.net>
Wed, 10 Jan 2024 22:49:18 +0000
(23:49 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 10 Jan 2024 22:49:18 +0000
(23:49 +0100)
src/wx/dcp_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/dcp_panel.cc
b/src/wx/dcp_panel.cc
index eba5b777c64c977be9e3e146caf312e89ae74342..f4ba74cdefbbcefd433379a26698af0bac33f9c5 100644
(file)
--- a/
src/wx/dcp_panel.cc
+++ b/
src/wx/dcp_panel.cc
@@
-727,6
+727,10
@@
DCPPanel::use_isdcf_name_toggled ()
void
DCPPanel::setup_dcp_name ()
{
+ if (!_film) {
+ return;
+ }
+
_dcp_name->SetLabel (std_to_wx(_film->dcp_name(true)));
_dcp_name->SetToolTip (std_to_wx(_film->dcp_name(true)));
}