Skip to content

Commit

Permalink
fix: Fix disabled search bar in Config Explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
rvost committed Mar 18, 2023
1 parent 5fb5d4f commit 05c7f7d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions PboSpy/Modules/ConfigExplorer/ViewModels/ConfigViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ protected set

public ConfigTreeRootViewModel Root => _root;

public bool CanSearch => Root.BackUpRootsCount > 0;

public override PaneLocation PreferredLocation => PaneLocation.Left;

[ImportingConstructor]
Expand Down
1 change: 0 additions & 1 deletion PboSpy/Modules/ConfigExplorer/Views/ConfigView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
<xctk:WatermarkTextBox x:Name="SearchString" Grid.Column="0" Watermark="Search Configuration"
cal:Message.Attach="[Event TextChanged] = [Action Search($this)]"
ToolTip="Enter at least 3 chracters"
IsEnabled="{Binding CanSearch}"
VerticalContentAlignment="Center"/>

<xctk:SplitButton Grid.Column="1"
Expand Down

0 comments on commit 05c7f7d

Please sign in to comment.