diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-06-02 23:37:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-06-02 23:37:49 +0100 |
| commit | b0f21ba2d7c2669616dfc78ce2e07d98ee58b3c5 (patch) | |
| tree | c0ca5c7e7563ffa5bfc10ed2bfc0faa77b034ea9 /src/wx/content_sub_panel.cc | |
| parent | 03c2c5756f7c0d393838625968904f3a96114d80 (diff) | |
Always hide reference note if it's empty.
Diffstat (limited to 'src/wx/content_sub_panel.cc')
| -rw-r--r-- | src/wx/content_sub_panel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_sub_panel.cc b/src/wx/content_sub_panel.cc index 5cdd2e5c3..bdb365158 100644 --- a/src/wx/content_sub_panel.cc +++ b/src/wx/content_sub_panel.cc @@ -74,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 (); |
