hide filename textbox when selecting folder.
MODIFY
WalletWasabi.Gui/ManagedDialogs/ManagedFileChooser.xaml
WalletWasabi.Gui/ManagedDialogs/ManagedFileChooser.xaml
<TextBlock Grid.Column="6" Text="Type" />
<TextBlock Grid.Column="8" Text="Size" />
</Grid>
- <TextBox Text="{Binding FileName}" Watermark="File name" DockPanel.Dock="Bottom" />
+ <TextBox Text="{Binding FileName}" Watermark="File name" DockPanel.Dock="Bottom" IsVisible="{Binding !SelectingFolder}" />
<ListBox x:Name="Files"
VirtualizationMode="Simple"
Items="{Binding Items}"

MODIFY
WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserViewModel.cs
WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserViewModel.cs
@@ -50,6 +50,8 @@ namespace WalletWasabi.Gui.ManagedDialogs
private set => this.RaiseAndSetIfChanged(ref _fileName, value);
}
+ public bool SelectingFolder => _selectingDirectory;
+
public bool ShowFilters { get; }
public SelectionMode SelectionMode { get; }
public string Title { get; }

hide filename textbox when selecting folder.