Skip to content

Commit

Permalink
#2941 add: shortcut Ctrl + "=" to increase text size in note text edit
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Jan 11, 2024
1 parent 059bbde commit ab6bc71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# QOwnNotes Changelog

## 24.1.3
- you now can also use <kbd>Ctrl</kbd> + <kbd>=</kbd> to increase the text size
in the note text edit (for [#2941](https://github.com/pbek/QOwnNotes/issues/2941))

## 24.1.2
- the Snap version of QOwnNotes was (in a Herculean effort) migrated from Core18 to Core22
to cause less problems on Ubuntu 23.10 systems (for [#2876](https://github.com/pbek/QOwnNotes/issues/2876))
Expand Down
4 changes: 4 additions & 0 deletions src/mainwindow.cpp
Expand Up @@ -177,6 +177,10 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) {
connect(ui->noteEditTabWidget->tabBar(), &QWidget::customContextMenuRequested, this,
&MainWindow::showNoteEditTabWidgetContextMenu);

// Set the two shortcuts for the "increase note text size" action
const QList<QKeySequence> shortcuts = {QKeySequence(Qt::CTRL + Qt::Key_Plus), QKeySequence(Qt::CTRL + Qt::Key_Equal)};
ui->action_Increase_note_text_size->setShortcuts(shortcuts);

initTreeWidgets();

initNotePreviewAndTextEdits();
Expand Down

0 comments on commit ab6bc71

Please sign in to comment.