Peer Settings button goes to Message Pane if already in Settings
Fixes #399
This commit is contained in:
parent
1eb391ecc1
commit
ef58f002b3
10
qml/main.qml
10
qml/main.qml
|
@ -129,12 +129,18 @@ ApplicationWindow {
|
|||
onBack: { backFn() }
|
||||
|
||||
onRightMenu: {
|
||||
// If a group is selected....
|
||||
if (gcd.selectedConversation.length == 32) {
|
||||
theStack.pane = theStack.groupProfilePane
|
||||
gcd.requestGroupSettings(gcd.selectedConversation)
|
||||
} else {
|
||||
theStack.pane = theStack.userProfilePane
|
||||
gcd.requestPeerSettings(gcd.selectedConversation)
|
||||
// if a peer is selected..
|
||||
if (theStack.pane == theStack.userProfilePane) {
|
||||
theStack.pane = theStack.messagePane
|
||||
} else {
|
||||
theStack.pane = theStack.userProfilePane
|
||||
gcd.requestPeerSettings(gcd.selectedConversation)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue