Commit 755d6cd0 authored by rgaudin's avatar rgaudin
Browse files

Fixed #192: ZIM selection box contains all available ZIMs

parent 6330aa98
2.0-rc3
* Static content selection window display all contents, not only those selected [regression]
2.0-rc2
* macOS build: fixed compilation on travis (rc1 not launchable)
* Support for external hardware clock module (rasclock)
......
......@@ -364,10 +364,6 @@ class Application:
column_text = Gtk.TreeViewColumn("Description", renderer_text, text=3)
self.component.choosen_zim_tree_view.append_column(column_text)
choosen_zim_filter = self.component.zim_list_store.filter_new()
choosen_zim_filter.set_visible_func(self.choosen_zim_filter_func)
self.component.choosen_zim_tree_view.set_model(choosen_zim_filter)
def get_project_size(name, lang):
langs = ['fr', 'en'] if name == 'aflatoun' else [lang]
return get_expanded_size(get_collection(
......@@ -470,6 +466,9 @@ class Application:
if zim[8]:
self.component.zim_list_store[index][8] = False
self.component.choosen_zim_tree_view.set_model(self.component.zim_list_store)
choosen_zim_filter = self.component.zim_list_store.filter_new()
choosen_zim_filter.set_visible_func(self.choosen_zim_filter_func)
self.component.choosen_zim_tree_view.set_model(choosen_zim_filter)
self.update_free_space()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment