X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_sub_panel.cc;h=bdb365158c7e743e51506792ca4d2e7b078d5f9f;hb=d7df8d5dd66834e34cd61b425ed80fe21a7ff755;hp=aee0d6595ae3e8a3ca8743c450545151d94728b6;hpb=031564554ff22efa72bc36c0f058d77056aa8373;p=dcpomatic.git diff --git a/src/wx/content_sub_panel.cc b/src/wx/content_sub_panel.cc index aee0d6595..bdb365158 100644 --- a/src/wx/content_sub_panel.cc +++ b/src/wx/content_sub_panel.cc @@ -46,7 +46,6 @@ ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name) _config_connection = Config::instance()->Changed.connect (boost::bind (&ContentSubPanel::config_changed, this, _1)); } - 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); - if (s.IsEmpty ()) { + if (s.IsEmpty() || Config::instance()->interface_complexity() == Config::INTERFACE_SIMPLE) { note->Hide (); } else { note->Show ();