mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-08 14:20:19 +00:00
fix visual panel crash when hit enter
This commit is contained in:
parent
961ae4323c
commit
7694964dfe
@ -1585,7 +1585,7 @@ repeat:
|
||||
case ' ':
|
||||
case '\r':
|
||||
case '\n':
|
||||
if (!handleMenu (core, panels->currentMenu[panels->currentMenuIndex])) {
|
||||
if (panels->currentMenu && !handleMenu (core, panels->currentMenu[panels->currentMenuIndex])) {
|
||||
goto exit;
|
||||
}
|
||||
doPanelsRefresh (core);
|
||||
|
Loading…
Reference in New Issue
Block a user