@LarsGit223 commented on this pull request.
In workbench/src/popup_menu.c:
> + wb_project_add_directory(project, dirname); + sidebar_update(SIDEBAR_CONTEXT_DIRECTORY_ADDED, &context); + g_free(dirname); + } + } +} + + +/* Handle popup menu item "Remove directory" */ +static void popup_menu_on_remove_directory(G_GNUC_UNUSED GtkMenuItem * menuitem, G_GNUC_UNUSED gpointer user_data) +{ + SIDEBAR_CONTEXT context; + + if (sidebar_file_view_get_selected_context(&context) + && + context.project != NULL && context.directory != NULL)
Adjusted. Logical operator and following conditions are now on one line.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.