Use code that finds the ROImage file based upon filename.

This commit is contained in:
Rich committed 2015-02-24 15:43:40 +00:00
1 parent 068dbfc005
commit 52c6e61b6a
3 files changed
+4

No files matched your search

@@ -729,6 +729,7 @@ namespace Volian.Controls.Library
fname += string.Format(".{0}", MyROFST.MyRODb.RODbConfig.GetDefaultGraphicExtension());
}
if (tmp == null) tmp = ROImageInfo.GetByROFstID_FileName(MyROFST.ROFstID, fname);
if (tmp == null) tmp = MyROFST.GetROImageByFilename(fname, null);
if (tmp !=null)
{
ROImageConfig rc = new ROImageConfig(tmp);