projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Basics of allowing video parts of FFmpegContent to be disabled (#1355 and others).
[dcpomatic.git]
/
src
/
wx
/
content_widget.h
diff --git
a/src/wx/content_widget.h
b/src/wx/content_widget.h
index 048a79253e21ac9fe4be2215ce4b7b54ccc0eadb..c4ae4d591aaa5d97a472953d4e06626e0236019e 100644
(file)
--- a/
src/wx/content_widget.h
+++ b/
src/wx/content_widget.h
@@
-158,7
+158,7
@@
private:
void set_single ()
{
- if (_wrapped->IsShown
()
) {
+ if (_wrapped->IsShown
() || !_sizer
) {
return;
}
@@
-171,7
+171,7
@@
private:
void set_multiple ()
{
- if (_button->IsShown
()
) {
+ if (_button->IsShown
() || !_sizer
) {
return;
}