Fix show all decompiler output in panels (#15012)

This commit is contained in:
Vane11ope 2019-09-11 02:10:03 +03:00 committed by radare
parent 81564d108a
commit 47f3e9e4fb

View File

@ -3244,6 +3244,9 @@ int __show_all_decompiler_cb(void *user) {
__handle_tab_new (core);
RPanels *panels = __get_panels (root, root->n_panels - 1);
r_list_foreach (optl, iter, opt) {
if (R_STR_ISEMPTY (opt)) {
continue;
}
r_config_set (core->config, "cmd.pdc", opt);
if (panels->n_panels <= i) {
panels->n_panels++;