Fixed removing of storages

pull/41/head
parent 802b520534
commit 49215b12b2

@ -249,7 +249,7 @@ void on_storage_remove(GtkWidget *self, storage_config_window *window){
if (repo_size)
yon_char_parsed_free(repo_list,repo_size);
yon_window_config_erase_custom_parameter(storage,"storage_info");
rmdir(storage);
yon_dir_remove(storage);
gtk_tree_store_remove(window->storages_copy,&itar);
gtk_combo_box_text_remove(GTK_COMBO_BOX_TEXT(window->StoragePathCombo),gtk_combo_box_get_active(GTK_COMBO_BOX(window->StoragePathCombo)));
}

Loading…
Cancel
Save