Skip to content

Commit

Permalink
Use regular block format function for single block
Browse files Browse the repository at this point in the history
  • Loading branch information
vkbo committed Feb 10, 2024
1 parent 1c3b252 commit 2f20266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion novelwriter/gui/doceditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ def _iterFormatBlocks(self, action: nwDocAction) -> bool:
"""
cursor = self.textCursor()
blocks = self._selectedBlocks(cursor)
if len(blocks) < 1:
if len(blocks) < 2:
return self._formatBlock(action)

toggle = True
Expand Down

0 comments on commit 2f20266

Please sign in to comment.