Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Feb 4, 2022
1 parent 0580ac5 commit 0e4a9f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/alexandria/ui/smart_library_properties_dialog_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def user_confirms_possible_weirdnesses_before_saving?
def update_rules_header_box(predicate_operator_rule = SmartLibrary::ALL_RULES)
@rules_header_box.children&.each { |x| @rules_header_box.remove(x) }

if @rules_box.children.length > 1
# FIXME: Length should just work!?
if @rules_box.children.to_a.length > 1
label1 = Gtk::Label.new
label1.set_alignment(0.0, 0.5)
label1.text = _("Match")
Expand Down

0 comments on commit 0e4a9f1

Please sign in to comment.