Skip to content

Commit 13c5d39

Browse files
authored
Fix bug which prevented xlet-settings from opening when clicking configure from context menu of desklet. (#13033)
1 parent 6e2f11e commit 13c5d39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/ui/desklet.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ var Desklet = class Desklet {
279279
}
280280

281281
configureDesklet(tab=0) {
282+
if (typeof tab !== "number") tab = 0;
282283
Util.spawnCommandLine("xlet-settings desklet " + this._uuid + " -i " + this.instance_id + " -t " + tab);
283284
}
284285
}

0 commit comments

Comments
 (0)