mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
spelling
This commit is contained in:
@@ -121,19 +121,19 @@ namespace ProjectsEditor.Models
|
||||
}
|
||||
}
|
||||
|
||||
private bool _isPopoupVisible;
|
||||
private bool _isPopupVisible;
|
||||
|
||||
[JsonIgnore]
|
||||
public bool IsPopupVisible
|
||||
{
|
||||
get
|
||||
{
|
||||
return _isPopoupVisible;
|
||||
return _isPopupVisible;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_isPopoupVisible = value;
|
||||
_isPopupVisible = value;
|
||||
OnPropertyChanged(new PropertyChangedEventArgs(nameof(IsPopupVisible)));
|
||||
}
|
||||
}
|
||||
@@ -322,7 +322,7 @@ namespace ProjectsEditor.Models
|
||||
app.RepeatIndex = repeatCounter[app.AppPath];
|
||||
}
|
||||
|
||||
// remove those repeatIndexes, which are single 1-es (no repetions) by setting them to 0
|
||||
// remove those repeatIndexes, which are single 1-es (no repetitions) by setting them to 0
|
||||
foreach (Application app in selectedApps.Where(x => repeatCounter[x.AppPath] == 1))
|
||||
{
|
||||
app.RepeatIndex = 0;
|
||||
|
||||
@@ -81,11 +81,11 @@ namespace ProjectsEditor.Utils
|
||||
}
|
||||
|
||||
ProjectsData.ProjectWrapper projectWrapper = projects.Projects[0];
|
||||
project = GetProjectFromWrappper(projectWrapper);
|
||||
project = GetProjectFromWrapper(projectWrapper);
|
||||
return true;
|
||||
}
|
||||
|
||||
private Project GetProjectFromWrappper(ProjectsData.ProjectWrapper project)
|
||||
private Project GetProjectFromWrapper(ProjectsData.ProjectWrapper project)
|
||||
{
|
||||
Project newProject = new Project()
|
||||
{
|
||||
@@ -217,7 +217,7 @@ namespace ProjectsEditor.Utils
|
||||
{
|
||||
foreach (var project in projects.Projects)
|
||||
{
|
||||
mainViewModel.Projects.Add(GetProjectFromWrappper(project));
|
||||
mainViewModel.Projects.Add(GetProjectFromWrapper(project));
|
||||
}
|
||||
|
||||
mainViewModel.Initialize();
|
||||
|
||||
@@ -348,7 +348,7 @@ namespace ProjectsEditor.ViewModels
|
||||
p.StartInfo = new ProcessStartInfo(launchParam);
|
||||
p.StartInfo.Arguments = app.CommandLineArguments;
|
||||
p.StartInfo.UseShellExecute = true;
|
||||
p.StartInfo.Verb = "runas"; // administrator privilages, some apps start only that way
|
||||
p.StartInfo.Verb = "runas"; // administrator privileges, some apps start only that way
|
||||
p.Start();
|
||||
});
|
||||
newlyStartedApps.Add(app);
|
||||
|
||||
Reference in New Issue
Block a user