mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 20:57:09 +02:00
update shift-x
This commit is contained in:
parent
a8f69bb2e0
commit
d4797dc9f8
1 changed files with 3 additions and 3 deletions
|
@ -2838,9 +2838,9 @@ void Application::keyPressEvent(QKeyEvent* event) {
|
|||
case Qt::Key_X:
|
||||
if (isShifted && isMeta) {
|
||||
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
||||
//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;
|
||||
|
|
Loading…
Reference in a new issue