summaryrefslogtreecommitdiff
path: root/src/wx/content_sub_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-06-02 23:37:49 +0100
committerCarl Hetherington <cth@carlh.net>2019-06-02 23:37:49 +0100
commitb0f21ba2d7c2669616dfc78ce2e07d98ee58b3c5 (patch)
treec0ca5c7e7563ffa5bfc10ed2bfc0faa77b034ea9 /src/wx/content_sub_panel.cc
parent03c2c5756f7c0d393838625968904f3a96114d80 (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.cc2
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 ();