Fixed DisplayProfile ImageListView

I'd managed to break the Display Profile imagelistview with one of my code clearing escapades, but now I have managed to fix it again!
This commit is contained in:
Terry MacDonald
2021-09-02 15:09:06 +12:00
parent 7772b27f89
commit eef92abebf
2 changed files with 14 additions and 1 deletions

View File

@ -564,6 +564,12 @@ namespace DisplayMagicianShared
}
public static bool operator !=(ProfileItem lhs, ProfileItem rhs) => !(lhs == rhs);
// IMPORTANT - This ProfileItem ToString function is required to make the Profile ImageListView work properly! DO NOT DELETE!
public override string ToString()
{
return (Name ?? Language.UN_TITLED_PROFILE);
}
}
}