mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: reset search when navigating into a FileDialog folder (#1197)
Currently, using the search bar and navigating into a folder keeps the same search query, so you need to clear it if you want to actually choose a file inside the folder you were searching for. This clears the search bar when navigating into a folder.
This commit is contained in:
parent
e7dbc85310
commit
48c00da429
1 changed files with 1 additions and 0 deletions
|
|
@ -258,6 +258,7 @@ public partial class FileDialog
|
|||
|
||||
private void SetPath(string path)
|
||||
{
|
||||
this.searchBuffer = string.Empty;
|
||||
this.selectedSideBar = string.Empty;
|
||||
this.currentPath = path;
|
||||
this.files.Clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue