Skip to content

Commit

Permalink
Fix Apply Style command
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencohn committed Jan 25, 2024
1 parent c094fc3 commit 2225140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OneMore/Commands/Styles/ApplyStyleCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private bool StylizeParagraphs()
.Where(e => e.Attributes("selected").Any(a => a.Value.Equals("all")))
.Select(p => p.Parent);

if (elements.Any())
if (!elements.Any())
{
return false;
}
Expand Down

0 comments on commit 2225140

Please sign in to comment.