diff --git a/CHANGELOG.md b/CHANGELOG.md index fc3aa30..4eb4db6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog -## [5.5.0-beta.1] 2024-10-31 +## [5.5.0-beta.3] 2024-10-31 +### Fixed +- Prevent maps combobox from duplicating contents + +## [5.5.0-beta.2] 2024-10-31 ### Fixed - Restore keyboard input to keyword entry field diff --git a/dzgui.sh b/dzgui.sh index 18212c2..61a74bf 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=5.5.0-beta.2 +version=5.5.0-beta.3 #CONSTANTS aid=221100 @@ -566,7 +566,7 @@ fetch_helpers_by_sum(){ [[ -f "$config_file" ]] && source "$config_file" declare -A sums sums=( - ["ui.py"]="804fd1ec88da07b7c6015fd341c5c133" + ["ui.py"]="bfdc7d510cea375731d4b92b9c3ab510" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["funcs"]="105e7be170eea48ce61fcfe7b50b8f59" diff --git a/helpers/ui.py b/helpers/ui.py index ba1e4dc..3714cd9 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -1864,9 +1864,8 @@ class FilterPanel(Gtk.Box): completion.connect("match_selected", self._on_completer_match) renderer_text = Gtk.CellRendererText(ellipsize=Pango.EllipsizeMode.END) - self.maps_combo = Gtk.ComboBox.new_with_entry() + self.maps_combo = Gtk.ComboBox.new_with_model_and_entry(map_store) self.maps_combo.set_entry_text_column(0) - self.maps_combo.set_model(map_store) # instantiate maps completer entry self.maps_entry = self.maps_combo.get_child() @@ -1876,7 +1875,6 @@ class FilterPanel(Gtk.Box): self.maps_entry.connect("key-press-event", self._on_map_entry_keypress) self.maps_combo.pack_start(renderer_text, True) - self.maps_combo.add_attribute(renderer_text, "text", 0) self.maps_combo.connect("changed", self._on_map_changed) self.maps_combo.connect("key-press-event", self._on_esc_pressed)