mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 06:53:59 +02:00
saving work
This commit is contained in:
parent
08ffa18008
commit
dedd85d296
2 changed files with 8 additions and 3 deletions
|
@ -81,6 +81,7 @@ Item {
|
|||
loader.item.subMenu = option;
|
||||
}
|
||||
loader.item.forceActiveFocus();
|
||||
tabletRoot.findStackableChild();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -5747,9 +5747,13 @@ bool Application::displayAvatarAttachmentConfirmationDialog(const QString& name)
|
|||
}
|
||||
|
||||
void Application::toggleRunningScriptsWidget() const {
|
||||
static const QUrl url("hifi/dialogs/RunningScripts.qml");
|
||||
DependencyManager::get<OffscreenUi>()->show(url, "RunningScripts");
|
||||
|
||||
static const QUrl url("../../hifi/dialogs/TabletRunningScripts.qml");
|
||||
auto tabletScriptingInterface = DependencyManager::get<TabletScriptingInterface>();
|
||||
auto tablet = dynamic_cast<TabletProxy*>(tabletScriptingInterface->getTablet("com.highfidelity.interface.tablet.system"));
|
||||
if (tablet) {
|
||||
tablet->pushOntoStack(url);
|
||||
}
|
||||
//DependencyManager::get<OffscreenUi>()->show(url, "RunningScripts");
|
||||
//if (_runningScriptsWidget->isVisible()) {
|
||||
// if (_runningScriptsWidget->hasFocus()) {
|
||||
// _runningScriptsWidget->hide();
|
||||
|
|
Loading…
Reference in a new issue