From 6daf91166fe46be2708be20707488c0c27ebfe01 Mon Sep 17 00:00:00 2001 From: howard-stearns Date: Mon, 22 Aug 2016 15:03:51 -0700 Subject: [PATCH] pr comments --- plugins/openvr/src/OpenVrHelpers.cpp | 1 + scripts/system/snapshot.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/openvr/src/OpenVrHelpers.cpp b/plugins/openvr/src/OpenVrHelpers.cpp index d966ab068c..820476191a 100644 --- a/plugins/openvr/src/OpenVrHelpers.cpp +++ b/plugins/openvr/src/OpenVrHelpers.cpp @@ -187,6 +187,7 @@ void updateFromOpenVrKeyboardInput() { //event.setCommitString(newText, 0, _existingText.size()); //qApp->sendEvent(_keyboardFocusObject, &event); } + void finishOpenVrKeyboardInput() { auto offscreenUi = DependencyManager::get(); updateFromOpenVrKeyboardInput(); diff --git a/scripts/system/snapshot.js b/scripts/system/snapshot.js index 264b44f49a..2f3b8862c2 100644 --- a/scripts/system/snapshot.js +++ b/scripts/system/snapshot.js @@ -138,7 +138,7 @@ function resetButtons(path, notify) { confirmShare([ { localPath: path }, { - canShare: Boolean(location.placename), + canShare: !!location.placename, openFeedAfterShare: shouldOpenFeedAfterShare() } ]);