mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-07 22:02:32 -04:00
Call toolbar change state when pop stackview
This commit is contained in:
parent
d19950f0df
commit
80cc1b4520
3 changed files with 16 additions and 10 deletions
|
@ -221,17 +221,15 @@ ApplicationWindow
|
|||
{
|
||||
toolBar.state = "DEFAULT"
|
||||
}
|
||||
else if (typeof currentItem.changeState === 'function')
|
||||
{
|
||||
currentItem.changeState ()
|
||||
}
|
||||
|
||||
currentItem.focus = true
|
||||
}
|
||||
}
|
||||
|
||||
Keys.onReleased:
|
||||
if (event.key === Qt.Key_Back && stackView.depth > 1)
|
||||
{
|
||||
stackView.pop();
|
||||
event.accepted = true;
|
||||
}
|
||||
|
||||
state: "core_down"
|
||||
initialItem: BusyOverlay { message: qsTr("Connecting to core...") }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue