diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-21 23:36:00 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-21 23:36:00 +0100 |
commit | b315ff531e706ead36d415abff79354ac37d40e8 (patch) | |
tree | fbd5ab538e2e4b3a81ee8a2e7367491dbf1bfd36 /gtk2_ardour/ardour_ui2.cc | |
parent | c1127c245b0ab6f0d45ab1c378e725121fe93ad4 (diff) |
amend 91321272b
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui2.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index bb1b6fb000..a93ed17245 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -224,12 +224,16 @@ ARDOUR_UI::update_clock_visibility () secondary_clock->show(); secondary_clock->left_btn()->show(); secondary_clock->right_btn()->show(); - secondary_clock_spacer->show(); + if (secondary_clock_spacer) { + secondary_clock_spacer->show(); + } } else { secondary_clock->hide(); secondary_clock->left_btn()->hide(); secondary_clock->right_btn()->hide(); - secondary_clock_spacer->hide(); + if (secondary_clock_spacer) { + secondary_clock_spacer->hide(); + } } } |