mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-18 08:35:26 +08:00
SettingsSidePanel: implement deselect function
Gitlab: #1130 Change-Id: I166d41f495278a8d8a7c918e1d6d818108acae4e
This commit is contained in:
committed by
Sébastien Blin
parent
39264e59c2
commit
860f59893b
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user