mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 03:03:35 +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.subMenu = option;
|
||||||
}
|
}
|
||||||
loader.item.forceActiveFocus();
|
loader.item.forceActiveFocus();
|
||||||
|
tabletRoot.findStackableChild();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5747,9 +5747,13 @@ bool Application::displayAvatarAttachmentConfirmationDialog(const QString& name)
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::toggleRunningScriptsWidget() const {
|
void Application::toggleRunningScriptsWidget() const {
|
||||||
static const QUrl url("hifi/dialogs/RunningScripts.qml");
|
static const QUrl url("../../hifi/dialogs/TabletRunningScripts.qml");
|
||||||
DependencyManager::get<OffscreenUi>()->show(url, "RunningScripts");
|
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->isVisible()) {
|
||||||
// if (_runningScriptsWidget->hasFocus()) {
|
// if (_runningScriptsWidget->hasFocus()) {
|
||||||
// _runningScriptsWidget->hide();
|
// _runningScriptsWidget->hide();
|
||||||
|
|
Loading…
Reference in a new issue