Skip to content
Snippets Groups Projects
Commit 860f5989 authored by Xavier Jouslin de Noray's avatar Xavier Jouslin de Noray Committed by Sébastien Blin
Browse files

SettingsSidePanel: implement deselect function

Gitlab: #1130

Change-Id: I166d41f495278a8d8a7c918e1d6d818108acae4e
parent 39264e59
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment