Elwig: Fix most compiler warnings
Test / Run tests (push) Successful in 2m29s

This commit is contained in:
lorenz.stechauner committed 2026-11-24 19:37:13 +01:00
1 parent 9e110a467a
commit 2cc58f8df6
24 files changed
+112 -125

No files matched your search

+2 -2
View File
@@ -15,14 +15,14 @@ namespace Elwig.Helpers.Printing {
}
public static void Show(TempFile file, string title) {
App.MainDispatcher.BeginInvoke(() => {
App.Current.Dispatcher.BeginInvoke(() => {
var w = new DocumentViewerWindow(title, file);
w.Show();
});
}
public static void Show(string path, string title) {
App.MainDispatcher.BeginInvoke(() => {
App.Current.Dispatcher.BeginInvoke(() => {
var w = new DocumentViewerWindow(title, path);
w.Show();
});