diff options
author | Robin Gareus <robin@gareus.org> | 2019-12-13 16:33:12 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-12-13 16:33:12 +0100 |
commit | 561cf86919d4b3db45dacb64ae926bc5f738d8e4 (patch) | |
tree | 05715f57a6ee66bffda6e9486514aa34ee34ebff /gtk2_ardour/ardour_ui.cc | |
parent | cc9f9414882a1a353ae9e6b795f45df34db8a4a8 (diff) |
Fix session sensitivity of some toolbar controls
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index c12396e900..e556d8e1a3 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -2000,6 +2000,9 @@ ARDOUR_UI::map_transport_state () { if (!_session) { layered_button.set_sensitive (false); + if (UIConfiguration::instance().get_screen_saver_mode () == InhibitWhileRecording) { + inhibit_screensaver (false); + } return; } |