Properly reset search when deleting active tag tab

Closes #5913

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-10-11 00:12:32 +02:00
parent 8d7e569b19
commit 2b71a13049

View File

@@ -549,7 +549,7 @@ public class TabInterface
{ {
if (activeTab != null && activeTab.getTag().equals(tag)) if (activeTab != null && activeTab.getTag().equals(tag))
{ {
doSearch(InputType.SEARCH, ""); resetSearch();
} }
tabManager.remove(tag); tabManager.remove(tag);