|
|
|
|
@ -176,17 +176,29 @@ open class FilterDetailsFragment : RealmFragment(), RowRepresentableDelegate { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
is DoubleValueListFilterItemRow -> { |
|
|
|
|
if (value == null) { |
|
|
|
|
row.clear() |
|
|
|
|
} else { |
|
|
|
|
val string = value as String |
|
|
|
|
row.add(string.toDouble()) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
is IntValueListFilterItemRow -> { |
|
|
|
|
if (value == null) { |
|
|
|
|
row.clear() |
|
|
|
|
} else { |
|
|
|
|
val string = value as String |
|
|
|
|
row.add(string.toInt()) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
is StringValueListFilterItemRow -> { |
|
|
|
|
if (value == null) { |
|
|
|
|
row.clear() |
|
|
|
|
} else { |
|
|
|
|
row.add(value as String) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Remove the row before updating the selected rows list |
|
|
|
|
this.model.selectedRows.remove(row as FilterItemRow) |
|
|
|
|
|