Minor fix when opening a new panel ##panels (#12419)

This commit is contained in:
Vanellope 2018-12-06 23:18:40 +09:00 committed by radare
parent 2a25cddf41
commit a6a234024a

View File

@ -1501,6 +1501,7 @@ static void createNewPanel(RCore *core, char *name, char *cmd, bool caching) {
addPanelFrame (core, panels, name, cmd, caching);
changePanelNum (panels, panels->n_panels - 1, 0);
r_core_panels_layout (panels);
panels->curnode = 0;
setRefreshAll (panels, false);
}