1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-03 14:25:38 +02:00

SettingsSidePanel: implement deselect function

Gitlab: #1130

Change-Id: I166d41f495278a8d8a7c918e1d6d818108acae4e
This commit is contained in:
Xavier Jouslin de Noray 2023-05-29 12:46:14 -04:00 committed by Sébastien Blin
parent 39264e59c2
commit 860f59893b

View file

@ -143,11 +143,15 @@ SidePanelBase {
}
function open(index) {
indexSelected(-1)
indexSelected(index)
root.currentIndex = index
}
function deselect() {
indexSelected(-1);
root.currentIndex = -1;
}
function select(index) {
if (!root.isSinglePane)
indexSelected(index)