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:
parent
39264e59c2
commit
860f59893b
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue