Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
FusionBolt committed Nov 16, 2023
1 parent 4e136e5 commit 2eca9c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nncase.Studio/Util/ViewModelContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public async Task<string> OpenFolder(FolderPickerOpenOptions options)
return await _mainWindowView.ShowFolderPicker.Handle(options);
}

public async void OpenDialog(string prompt, PromptDialogLevel level = PromptDialogLevel.Error)
public void OpenDialog(string prompt, PromptDialogLevel level = PromptDialogLevel.Error)
{
_mainWindowView.ShowDialog(prompt, level);
}
Expand Down
1 change: 1 addition & 0 deletions src/Nncase.Studio/ViewModels/NavigatorViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public void SwitchPrev()
public void SwitchNext()
{
var check = ContentViewModel!.CheckViewModel();

// todo: show log
if (check.Count != 0)
{
Expand Down

0 comments on commit 2eca9c4

Please sign in to comment.