# Conflicts: # interface/src/scripting/HMDScriptingInterface.h
Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 165 files). Show all
Unified · Split
| @@ -122,8 +122,11 @@ void HMDScriptingInterface::toggleShouldShowTablet() { · 121 unmodified lines | |||
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | void HMDScriptingInterface::setShouldShowTablet(bool value) { | 124 | void HMDScriptingInterface::setShouldShowTablet(bool value) { |
| 125 | _showTablet = value; | 125 | if (_showTablet != value) { |
| 126 | _tabletContextualMode = false; | 126 | _showTablet = value; |
| 127 | _tabletContextualMode = false; | ||
| 128 | emit showTabletChanged(value); | ||
| 129 | } | ||
| 127 | } | 130 | } |
| 128 | 131 | ||
| 129 | void HMDScriptingInterface::setMiniTabletEnabled(bool enabled) { | 132 | void HMDScriptingInterface::setMiniTabletEnabled(bool enabled) { |