<p><b>@kugel-</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/1813#discussion_r308444771">src/sidebar.c</a>:</p>
<pre style='color:#555'>> +    GtkTreePath *path;
+       GtkTreeModel *model = GTK_TREE_MODEL(store_openfiles);
+
+       path = gtk_tree_model_get_path(model, parent_old);
+       gtk_tree_path_free(path);
+       tree_copy_item(&parent, parent_old, parent_new);
+       i = gtk_tree_model_iter_n_children(model, parent_old) - 1;
+       while (i >= 0 && gtk_tree_model_iter_nth_child(model, &child, parent_old, i))
+       {
+               tree_copy_recursive(&child, &parent);
+               i--;
+       }
+}
+
+
+static void tree_add_new_dir(GtkTreeIter *child, GtkTreeIter *parent, gchar *file)
</pre>
<p>will fix</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1813?email_source=notifications&email_token=AAIOWJ5PHN5ZLMI5BFQP743QB5N57A5CNFSM4EWIWKT2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB75B3MA#discussion_r308444771">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6TIITL5ADCESZOIH3QB5N57ANCNFSM4EWIWKTQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3QC6GOSEPZHCL6HDLQB5N57A5CNFSM4EWIWKT2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB75B3MA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/1813?email_source=notifications\u0026email_token=AAIOWJ5PHN5ZLMI5BFQP743QB5N57A5CNFSM4EWIWKT2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB75B3MA#discussion_r308444771",
"url": "https://github.com/geany/geany/pull/1813?email_source=notifications\u0026email_token=AAIOWJ5PHN5ZLMI5BFQP743QB5N57A5CNFSM4EWIWKT2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB75B3MA#discussion_r308444771",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>