Skip to content

Commit

Permalink
Skip warning message for init data
Browse files Browse the repository at this point in the history
  • Loading branch information
Nice3point committed Sep 13, 2024
1 parent 2588c16 commit 604f6ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions source/RevitLookup/Views/Pages/RevitSettingsPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@ public RevitSettingsPage(RevitSettingsViewModel viewModel, IContentDialogService
{
ViewModel = viewModel;
DataContext = this;

InitializeComponent();
EnableGrouping();

ShowWarningDialog(dialogService, navigationService);
if (viewModel.Entries.Count == 0)
{
ShowWarningDialog(dialogService, navigationService);
}
}

private void EnableGrouping()
Expand Down

0 comments on commit 604f6ba

Please sign in to comment.