mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-23 23:20:05 +01:00
[PTRun][Shell]Select which shell is used (#28121)
* [PTRun] LeaveShellOpen condition added to run command * [PTRun] Keep shell open added to shell plugin settings. * [PTRun] Unnecessary variable deleted. Formatting. * [PTRun] Variable name changed. * [PTRun] Shell selection * [PTRun] Bugfix * [PTRun] Review comments. * [PTRun] Revert commit * [PTRun] An enumaration is added to PluginAdditionalOption for selection types.
This commit is contained in:
@@ -2,10 +2,18 @@
|
||||
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
{
|
||||
public class PluginAdditionalOption
|
||||
{
|
||||
public enum SelectionType
|
||||
{
|
||||
Checkbox = 0,
|
||||
Combobox = 1,
|
||||
}
|
||||
|
||||
public string Key { get; set; }
|
||||
|
||||
public string DisplayLabel { get; set; }
|
||||
@@ -16,5 +24,11 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
public string DisplayDescription { get; set; }
|
||||
|
||||
public bool Value { get; set; }
|
||||
|
||||
public List<string> ComboBoxOptions { get; set; }
|
||||
|
||||
public int Option { get; set; }
|
||||
|
||||
public int SelectionTypeValue { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user