aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-11-17 15:29:59 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-11-17 15:29:59 +0200
commitab437cc6b78067bfe799a32bd9c2a630eeb98a17 (patch)
treece58a198ae82aa34ccab49cadc72a99967bd02da /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels
parent08f01eb75d783ec5f2d1d2daea689d8244052f71 (diff)
downloadTango-ab437cc6b78067bfe799a32bd9c2a630eeb98a17.tar.gz
Tango-ab437cc6b78067bfe799a32bd9c2a630eeb98a17.zip
Fixed ink filling to ignore empty ids packs.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
index 562a3b659..a2baec8b8 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
@@ -64,7 +64,7 @@ namespace Tango.PPC.UI.ViewModels
{
int index = Status.Cartridge.Index;
- var idsPack = _machineProvider.Machine.Configuration.IdsPacks.FirstOrDefault(x => x.PackIndex == index);
+ var idsPack = _machineProvider.Machine.Configuration.NoneEmptyIdsPacks.FirstOrDefault(x => x.PackIndex == index);
if (idsPack != null)
{