Check for a null when getting checkoff information

Added logic to use the DropCheckoff flag which tell the code that the checkoff goes on last row of the text. (default should be first row of text)
This commit is contained in:
jjenko committed 2011-12-12 20:00:27 +00:00
1 parent 904947bb08
commit 870aa7736e
2 files changed
+13 -5

No files matched your search

+1 -1
View File
@@ -204,7 +204,7 @@ namespace Volian.Controls.Library
MyItemInfo.RefreshItemAnnotations();
ChangeBar = MyItemInfo.HasChangeBar;
CheckOff co = _MyItemInfo.GetCheckOffStep();
if (co != null)
if (co != null && co.UIMark != null)
{
UserCheckOff = true;
UserCheckOffChar = (char)co.UIMark;