mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
spelling: restart
This commit is contained in:
committed by
Enrico Giordani
parent
f83ff068ae
commit
e6060048bd
@@ -86,7 +86,7 @@ namespace Wox.Core.Plugin
|
|||||||
"Restart Wox to take effect?",
|
"Restart Wox to take effect?",
|
||||||
"Install plugin", MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)
|
"Install plugin", MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)
|
||||||
{
|
{
|
||||||
PluginManager.API.RestarApp();
|
PluginManager.API.RestartApp();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ namespace Wox.Plugin
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Restart Wox
|
/// Restart Wox
|
||||||
/// </summary>
|
/// </summary>
|
||||||
void RestarApp();
|
void RestartApp();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Hide Wox
|
/// Hide Wox
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ namespace Wox
|
|||||||
Application.Current.MainWindow.Close();
|
Application.Current.MainWindow.Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RestarApp()
|
public void RestartApp()
|
||||||
{
|
{
|
||||||
_mainVM.MainWindowVisibility = Visibility.Hidden;
|
_mainVM.MainWindowVisibility = Visibility.Hidden;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user