Skip to content

Commit 5ce891b

Browse files
authored
Fix LT-22523: Make user aware when Run Tests does nothing (#895)
1 parent 9345700 commit 5ce891b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Src/LexText/ParserUI/ParserListener.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,15 @@ public bool OnCheckParserOnCurrentText(object argument)
586586
return true; //we handled this.
587587
}
588588

589+
public bool OnDisplayCheckParserOnCurrentText(object commandObject, ref UIItemDisplayProperties display)
590+
{
591+
CheckDisposed();
592+
593+
display.Enabled = CurrentText != null;
594+
595+
return true; //we handled this.
596+
}
597+
589598
public bool OnCheckParserOnGenre(object argument)
590599
{
591600
CheckDisposed();

0 commit comments

Comments
 (0)