projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swaroop: set controls to 'stopped' when a playlist finishes.
[dcpomatic.git]
/
src
/
wx
/
content_sub_panel.cc
diff --git
a/src/wx/content_sub_panel.cc
b/src/wx/content_sub_panel.cc
index 0bd79805b7f45d08a68aaeef7f84dbc2378d7f3d..bdb365158c7e743e51506792ca4d2e7b078d5f9f 100644
(file)
--- a/
src/wx/content_sub_panel.cc
+++ b/
src/wx/content_sub_panel.cc
@@
-43,10
+43,9
@@
ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name)
_grid = new wxGridBagSizer (DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP);
_sizer->Add (_grid, 0, wxALL, 8);
_grid = new wxGridBagSizer (DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP);
_sizer->Add (_grid, 0, wxALL, 8);
- Config::instance()->Changed.connect (boost::bind (&ContentSubPanel::config_changed, this, _1));
+
_config_connection =
Config::instance()->Changed.connect (boost::bind (&ContentSubPanel::config_changed, this, _1));
}
}
-
void
ContentSubPanel::config_changed (Config::Property p)
{
void
ContentSubPanel::config_changed (Config::Property p)
{
@@
-75,7
+74,7
@@
ContentSubPanel::setup_refer_button (wxCheckBox* button, wxStaticText* note, sha
note->SetLabel (s);
note->Wrap (400);
note->SetLabel (s);
note->Wrap (400);
- if (s.IsEmpty
()
) {
+ if (s.IsEmpty
() || Config::instance()->interface_complexity() == Config::INTERFACE_SIMPLE
) {
note->Hide ();
} else {
note->Show ();
note->Hide ();
} else {
note->Show ();