mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-12 13:49:12 +00:00
implementation complete naming covention left
This commit is contained in:
parent
3f8e1a69ec
commit
77a729f2db
1 changed files with 40 additions and 5 deletions
|
@ -859,13 +859,29 @@ namespace Ryujinx.Ui.Windows
|
|||
}
|
||||
else if (_includeorexlude == IncludeorExclude.Include)
|
||||
{
|
||||
TreeSelection selection = _gameDirsBox1.Selection;
|
||||
|
||||
if (selection.GetSelected(out TreeIter treeIter1))
|
||||
{
|
||||
var model = _gameDirsBox1.Model;
|
||||
_gameDirsBoxStore.AppendValues(model.GetValue(treeIter1, 0));
|
||||
Console.WriteLine(model.GetValue(treeIter1, 0));
|
||||
_directoryChanged = true;
|
||||
|
||||
_gameDirsBoxStore1.Remove(ref treeIter1);
|
||||
}
|
||||
|
||||
((ToggleButton)sender).SetStateFlags(StateFlags.Normal, true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void RemoveDir_Pressed(object sender, EventArgs args)
|
||||
{
|
||||
|
||||
if (_includeorexlude == IncludeorExclude.Exclude)
|
||||
{
|
||||
|
||||
TreeSelection selection = _gameDirsBox.Selection;
|
||||
|
||||
if (selection.GetSelected(out TreeIter treeIter))
|
||||
|
@ -876,6 +892,25 @@ namespace Ryujinx.Ui.Windows
|
|||
}
|
||||
|
||||
((ToggleButton)sender).SetStateFlags(StateFlags.Normal, true);
|
||||
}
|
||||
else if (_includeorexlude == IncludeorExclude.Include)
|
||||
{
|
||||
TreeSelection selection = _gameDirsBox1.Selection;
|
||||
|
||||
|
||||
|
||||
if (selection.GetSelected(out TreeIter treeIter))
|
||||
{
|
||||
_gameDirsBoxStore1.Remove(ref treeIter);
|
||||
|
||||
_directoryChanged = true;
|
||||
}
|
||||
|
||||
((ToggleButton)sender).SetStateFlags(StateFlags.Normal, true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void CustThemeToggle_Activated(object sender, EventArgs args)
|
||||
|
|
Loading…
Reference in a new issue