mirror of
https://github.com/nomi-san/parsec-vdd.git
synced 2026-08-07 13:50:45 +00:00
fix: window not responding on stacked dialog
This commit is contained in:
@@ -142,7 +142,7 @@ namespace ParsecVDisplay
|
||||
{
|
||||
e.Handled = true;
|
||||
UpdateDriverLabel();
|
||||
Tray.Instance?.QueryDriver(null, null);
|
||||
Tray.Instance.Invoke(() => Tray.Instance.QueryDriver(null, null));
|
||||
}
|
||||
|
||||
private void OpenRepoLink(object sender, MouseButtonEventArgs e)
|
||||
|
||||
+1
-1
@@ -406,7 +406,7 @@ namespace ParsecVDisplay
|
||||
|
||||
public void Invoke(Action action)
|
||||
{
|
||||
TrayIcon.ContextMenuStrip.Invoke(action);
|
||||
TrayIcon.ContextMenuStrip.BeginInvoke(action);
|
||||
}
|
||||
|
||||
private void SetLanguage(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user