Added a NULL check to prevent crash in RAM watch window.
This commit is contained in:
parent
11d02a31c4
commit
484f299107
|
@ -934,6 +934,11 @@ static void ramWatch_cell_edited_cb (GtkCellRendererText * cell,
|
|||
|
||||
rw = ramWatchList.getIndex (rww->ramWatchEditRowIdx);
|
||||
|
||||
if ( rw == NULL )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
switch (rww->ramWatchEditColIdx)
|
||||
{
|
||||
case 0:
|
||||
|
|
Loading…
Reference in New Issue