Skip to content

Commit

Permalink
Fixing linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha-ulrich committed Sep 19, 2024
1 parent 6a09fb1 commit fb4c99d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# next (unreleased)
* Copy/paste text into the correct text field (#677, @jendrikseipp).
* added feature to auto-indent text in editor (#561, Allen Benter)
* Code review changes for adding auto-indent feature (#561, #562, Varunjay Varma)

# 2.33 (2024-05-05)
Expand Down Expand Up @@ -92,7 +93,6 @@
# 2.22 (2021-04-25)
* Add a "Give Feedback" button (#551, Rahul Jha).
* Test code on macOS (#552, Rahul Jha).
* added feature to auto-indent text in editor (#561, Allen Benter)

# 2.21 (2020-12-07)
* Update MathJax to version 3 (#515, @dgcampea).
Expand Down
4 changes: 2 additions & 2 deletions rednotebook/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,9 +667,9 @@ def load_values_from_config(self):
)

self.set_font(config.read("mainFont", editor.DEFAULT_FONT))

self.set_auto_indent()

def set_auto_indent(self):
auto_indent = self.journal.config.read("autoIndent") == 1
self.day_text_field.day_text_view.set_auto_indent(auto_indent)
Expand Down
2 changes: 1 addition & 1 deletion rednotebook/gui/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def on_options_dialog(self):
)

self.options.append(TickOption(_("Search as you type"), "instantSearch"))

self.options.append(TickOption(_("Auto indent"), "autoIndent"))

def check_version_action(widget):
Expand Down

0 comments on commit fb4c99d

Please sign in to comment.