Skip to content

Commit

Permalink
#2836 fix: preview redraw on note text edit font size reset
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Sep 15, 2023
1 parent 84955c4 commit 711e817
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# QOwnNotes Changelog

## 23.9.4
- the font size in the preview will now change immediately when the font size in
the note text edit is reset (for [#2836](https://github.com/pbek/QOwnNotes/issues/2836))

## 23.9.3
- in the *Editor fonts & colors* settings the default color schemes are now ordered
alphabetically, with the two default schemes in front (for [#2840](https://github.com/pbek/QOwnNotes/issues/2840))
Expand Down
3 changes: 3 additions & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7247,6 +7247,9 @@ void MainWindow::on_action_Reset_note_text_size_triggered() {
"the font size is reset by 'Reset note text size'")
.arg(fontSize),
3000);

// Allow to update the preview if the zoom level of the note text edits change
forceRegenerateNotePreview();
}

/**
Expand Down

0 comments on commit 711e817

Please sign in to comment.