mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-06 15:55:48 +02:00
SettingsSidePanel: implement deselect function
Gitlab: #1130 Change-Id: I166d41f495278a8d8a7c918e1d6d818108acae4e
This commit is contained in:
parent
39264e59c2
commit
860f59893b
1 changed files with 5 additions and 1 deletions
|
@ -143,11 +143,15 @@ SidePanelBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
function open(index) {
|
function open(index) {
|
||||||
indexSelected(-1)
|
|
||||||
indexSelected(index)
|
indexSelected(index)
|
||||||
root.currentIndex = index
|
root.currentIndex = index
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function deselect() {
|
||||||
|
indexSelected(-1);
|
||||||
|
root.currentIndex = -1;
|
||||||
|
}
|
||||||
|
|
||||||
function select(index) {
|
function select(index) {
|
||||||
if (!root.isSinglePane)
|
if (!root.isSinglePane)
|
||||||
indexSelected(index)
|
indexSelected(index)
|
||||||
|
|
Loading…
Add table
Reference in a new issue