mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-23 15:04:46 +00:00
Don't refresh graph breakpoints during redraw.
This commit is contained in:
parent
756850ae27
commit
550c416c04
@ -170,6 +170,7 @@ void DisassemblerGraphView::refreshView()
|
|||||||
{
|
{
|
||||||
CutterGraphView::refreshView();
|
CutterGraphView::refreshView();
|
||||||
loadCurrentGraph();
|
loadCurrentGraph();
|
||||||
|
breakpoints = Core()->getBreakpointsAddresses();
|
||||||
emit viewRefreshed();
|
emit viewRefreshed();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -370,8 +371,6 @@ void DisassemblerGraphView::drawBlock(QPainter &p, GraphView::GraphBlock &block,
|
|||||||
p.setFont(Config()->getFont());
|
p.setFont(Config()->getFont());
|
||||||
p.drawRect(blockRect);
|
p.drawRect(blockRect);
|
||||||
|
|
||||||
breakpoints = Core()->getBreakpointsAddresses();
|
|
||||||
|
|
||||||
// Render node
|
// Render node
|
||||||
DisassemblyBlock &db = disassembly_blocks[block.entry];
|
DisassemblyBlock &db = disassembly_blocks[block.entry];
|
||||||
bool block_selected = false;
|
bool block_selected = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user