Showing the changes to interface/src/Application.cpp (1 of 28 files). Show all
Unified · Split
| @@ -2242,11 +2242,12 @@ void Application::keyPressEvent(QKeyEvent* event) { · 2241 unmodified lines | ||
| 2242 | 2242 | break; |
| 2243 | 2243 | |
| 2244 | 2244 | case Qt::Key_X: |
| 2245 | − if (isShifted && isMeta) { | |
| 2245 | + if (isMeta) { | |
| 2246 | 2246 | auto offscreenUi = DependencyManager::get<OffscreenUi>(); |
| 2247 | − offscreenUi->togglePinned(); | |
| 2248 | − //offscreenUi->getRootContext()->engine()->clearComponentCache(); | |
| 2249 | − //OffscreenUi::information("Debugging", "Component cache cleared"); | |
| 2247 | +// offscreenUi->togglePinned(); | |
| 2248 | + offscreenUi->getRootContext()->engine()->clearComponentCache(); | |
| 2249 | + qDebug() << "Component cache cleared"; | |
| 2250 | +// OffscreenUi::information("Debugging", "Component cache cleared"); | |
| 2250 | 2251 | // placeholder for dialogs being converted to QML. |
| 2251 | 2252 | } |
| 2252 | 2253 | break; |