Skip to content

Commit d5f23b7

Browse files
Make bool for the Empty Tree Message more descriptive. Also, bind it correctly.
1 parent b6743b4 commit d5f23b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

RetailCoder.VBE/Navigation/CodeExplorer/CodeExplorerViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public bool IsBusy
180180
{
181181
_isBusy = value;
182182
OnPropertyChanged();
183-
OnPropertyChanged("EmptyViewMessageVisibility");
183+
OnPropertyChanged("EmptyTreeMessageVisibility");
184184
}
185185
}
186186

@@ -534,7 +534,7 @@ public Visibility TreeViewVisibility
534534
}
535535
}
536536

537-
public Visibility EmptyViewMessageVisibility
537+
public Visibility EmptyTreeMessageVisibility
538538
{
539539
get
540540
{

RetailCoder.VBE/UI/CodeExplorer/CodeExplorerControl.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@
710710

711711
<Border Grid.Row="0" Grid.RowSpan="3" Background="#FFEEF5FD">
712712
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="WrapWithOverflow" TextAlignment="Center"
713-
Visibility="{Binding MessageVisibility}" MinWidth="200">
713+
Visibility="{Binding EmptyTreeMessageVisibility}" MinWidth="200">
714714
<Run FontWeight="Bold" Text="{Resx ResxName=Rubberduck.UI.RubberduckUI, Key=CodeExplorer_EmptyViewMessage_Title}"/><LineBreak/><Run/>
715715
<LineBreak/>
716716
<Button Command="{Binding RefreshCommand}" BorderThickness="0" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">

0 commit comments

Comments
 (0)