Tab title won't refresh after search

Version information

4.21.5 openSUSE Tumbleweed

Steps to reproduce

  1. Have at least 2 tabs open
  2. Start a search, via CTRL+F, don't enter anything
  3. Stop the search with ESC
  4. Change directory (e.g. click some side pane shortcut), observe tab title

Current behavior

The tab title is stuck, won't change

Expected outcome

The tab title shows current directory

Edited by Alexander Schwinn