Skip to content

Commit a64ed61

Browse files
committed
Refactor Print functionality to use a synchronous method
Replaced the asynchronous `PrintAsync` method with a new synchronous `Print` method. The new method currently contains commented-out code for a `PrintDialog` and an asynchronous call to `Editor!.PrintAsync(printDialog)`, indicating that the printing functionality is incomplete or temporarily disabled. This change may be a work-in-progress or a placeholder for future implementation.
1 parent cc0736c commit a64ed61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Editor/ViewModels/MainWindowViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ private async Task ExportAsync(string imageExtension)
577577
}
578578

579579
[RelayCommand]
580-
private async Task PrintAsync()
580+
private void Print()
581581
{
582582
/*var printDialog = new PrintDialog();
583583
if (printDialog.ShowDialog() == true)

0 commit comments

Comments
 (0)