mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-08 06:12:43 -04:00
Change to Almman indent style
This commit is contained in:
parent
4b05555a5c
commit
9f26a0aec5
6 changed files with 98 additions and 61 deletions
|
@ -63,12 +63,14 @@ ApplicationWindow
|
|||
|
||||
states:
|
||||
[
|
||||
State {
|
||||
State
|
||||
{
|
||||
name: "DEFAULT"
|
||||
PropertyChanges { target: toolBar; titleText: defaultLabel}
|
||||
PropertyChanges { target: toolBar; loaderSource: rsIcon}
|
||||
},
|
||||
State {
|
||||
State
|
||||
{
|
||||
name: "CHATVIEW"
|
||||
}
|
||||
]
|
||||
|
@ -166,9 +168,12 @@ ApplicationWindow
|
|||
id: stackView
|
||||
anchors.fill: parent
|
||||
focus: true
|
||||
onCurrentItemChanged: {
|
||||
if (currentItem) {
|
||||
if (currentItem.objectName != "chatView" && toolBar.state != "DEFAULT"){
|
||||
onCurrentItemChanged:
|
||||
{
|
||||
if (currentItem)
|
||||
{
|
||||
if (currentItem.objectName != "chatView" && toolBar.state != "DEFAULT")
|
||||
{
|
||||
toolBar.state = "DEFAULT"
|
||||
}
|
||||
currentItem.focus = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue