Fixup after merge

This commit is contained in:
Zach Fox 2017-06-28 14:44:26 -07:00
parent fc5da7b4f0
commit 9f8a6c63cc

View file

@ -162,7 +162,7 @@
button.clicked.connect(onTabletButtonClicked);
}
} else if (button) {
if ((!showSpectatorInDesktop || isShuttingDown) && !isHMDMode) {
if (!showSpectatorInDesktop || isShuttingDown) {
button.clicked.disconnect(onTabletButtonClicked);
tablet.removeButton(button);
button = false;