File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,16 @@ void CPUInfoBox::setInfoLine(int line, QString text)
35
35
{
36
36
if (line < 0 || line > 2 )
37
37
return ;
38
+
38
39
setCellContent (line, 0 , text);
39
40
reloadData ();
40
41
}
41
42
42
43
QString CPUInfoBox::getInfoLine (int line)
43
44
{
44
45
if (line < 0 || line > 2 )
45
- return QString ();
46
+ return " " ;
47
+
46
48
return getCellContent (line, 0 );
47
49
}
48
50
@@ -97,7 +99,10 @@ void CPUInfoBox::disasmSelectionChanged(dsint parVA)
97
99
curAddr = parVA;
98
100
if (!DbgIsDebugging () || !DbgMemIsValidReadPtr (parVA))
99
101
return ;
100
- clear ();
102
+
103
+ // Rather than using clear() or setInfoLine(), only reset the first two cells to reduce flicker
104
+ setCellContent (0 , 0 , " " );
105
+ setCellContent (1 , 0 , " " );
101
106
102
107
DISASM_INSTR instr;
103
108
memset (&instr, 0 , sizeof (instr));
You can’t perform that action at this time.
0 commit comments