From 007092f6b0e6ff6681ab7bec64eee5efed0c7ead Mon Sep 17 00:00:00 2001 From: Florrie Date: Tue, 12 Jun 2018 21:52:20 -0300 Subject: Remove unnecessary selectInput(main listing) Useful if clearQueue is called by some other function where it's not expected to change the focus. The last commit already handles the queue listing being empty, so this line isn't necessary to prevent a crash anymore. --- ui.js | 1 - 1 file changed, 1 deletion(-) (limited to 'ui.js') diff --git a/ui.js b/ui.js index 88d3eb0..2f7b010 100644 --- a/ui.js +++ b/ui.js @@ -171,7 +171,6 @@ class AppElement extends FocusElement { } clearQueue() { - this.form.selectInput(this.grouplikeListingElement) this.queueGrouplike.items = [] this.queueListingElement.buildItems() this.queueListingElement.pathElement.showItem(null) -- cgit 1.3.0-6-gf8a5