From d4797dc9f86d85d5f2593d5c4a571158dcbf4097 Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Tue, 13 Jun 2017 17:44:59 -0400 Subject: [PATCH] update shift-x --- interface/src/Application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 41d7bee000..8e1066af7b 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2838,9 +2838,9 @@ void Application::keyPressEvent(QKeyEvent* event) { case Qt::Key_X: if (isShifted && isMeta) { auto offscreenUi = DependencyManager::get(); - //offscreenUi->togglePinned(); - offscreenUi->getRootContext()->engine()->clearComponentCache(); - OffscreenUi::information("Debugging", "Component cache cleared"); + offscreenUi->togglePinned(); + //offscreenUi->getSurfaceContext()->engine()->clearComponentCache(); + //OffscreenUi::information("Debugging", "Component cache cleared"); // placeholder for dialogs being converted to QML. } break;