Steps to reproduce:
- Open any Project
- Open the Search Window (Ctrl+K)
- Turn off Query Builder Mode (F1)
- In the Search Field enter string "count{p:a:assets}"
- Turn on Query Builder Mode
- Right Click the Visual Query in the Search Field and select "Delete"
- Observe the Search Field, try typing anything in it
Actual results: Deleting the Search Expression that has been converted to a Visual Query ** breaks the Search Field, text cannot be inputted, the "x" button to clear the Search Field is no longer there until the Query Builder Mode is toggled off and on again
Expected results: Search Field doesn't break, text can be inputted without toggling Query Builder Mode
Reproducible with versions: 2023.1.0a1, 6000.0.68f1, 6000.3.10f1, 6000.4.0b10, 6000.5.0a7
Tested on (OS): Windows 11