Skip to content

Commit

Permalink
Fix title not updating when autocomplete is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Apr 5, 2024
1 parent 19c3432 commit b07d8d3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
4 changes: 4 additions & 0 deletions docs/src/markdown/about/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 4.20.2

- **Fix**: Fix title not updating when autocomplete is disabled.

## 4.20.1

- **Fix**: Fix preference window not being able to open.
Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ include = [
"/rummage/lib/gui/data/**/*.css",
"/rummage/lib/gui/data/**/*.html",
"/rummage/lib/gui/data/**/*.svg",
"/rummage/lib/gui/data/**/*.ico",
"/rummage/lib/gui/data/**/*.icns",
"/tests/**/*.py",
"/tools/**/*.py",
"/rummage/lib/gui/localization/locale/**/*.po",
"/docs/src/markdown/**/*.md",
"/docs/src/markdown/**/*.png",
"/docs/src/markdown/**/*.svg",
"/docs/src/markdown/**/*.gif",
"/docs/src/markdown/**/*.icns",
"/docs/src/markdown/**/*.ico",
"/docs/src/markdown/**/*.js",
"/docs/src/markdown/**/*.css",
"/docs/src/markdown/**/*.html",
Expand All @@ -74,8 +74,6 @@ include = [
"/docs/theme/**/*.html",
"/docs/theme/**/*.css",
"/requirements/*.txt",
"/setup.cfg",
"/tox.ini",
"/gui.fbp",
"/mkdocs.yml",
"/mkdocs-internal.yml",
Expand Down
2 changes: 1 addition & 1 deletion rummage/lib/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def parse_version(ver):


# (major, minor, micro, release type, pre-release build, post-release build, development-release)
__version_info__ = Version(4, 20, 1, 'final')
__version_info__ = Version(4, 20, 2, 'final')
__version__ = __version_info__._get_canonical()
__app__ = "Rummage"
__status__ = __version_info__[3]
Expand Down
2 changes: 2 additions & 0 deletions rummage/lib/gui/controls/autocomplete_combo.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ def on_text_change(self, event):
"""Autocomplete on text change event."""

if not self.enable_autocomplete:
if self.changed_callback is not None:
self.changed_callback()
event.Skip()
return

Expand Down
2 changes: 1 addition & 1 deletion rummage/lib/gui/data/docs/.dochash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7170c1c5809a49f076f26d602d20c65a
2ff424e68093d28f7c32735370b6ac9a
4 changes: 4 additions & 0 deletions rummage/lib/gui/data/docs/about/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

<!-- Table of Content (Don't show for static sites) -->
<h1 id="changelog">Changelog</h1>
<h2 id="4202">4.20.2</h2>
<ul>
<li><strong>Fix</strong>: Fix title not updating when autocomplete is disabled.</li>
</ul>
<h2 id="4201">4.20.1</h2>
<ul>
<li><strong>Fix</strong>: Fix preference window not being able to open.</li>
Expand Down

0 comments on commit b07d8d3

Please sign in to comment.