mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 04:16:12 +00:00
Fix crash when using graph shortcut (#1801)
This commit is contained in:
parent
fee8db6ad8
commit
88553ae7d9
@ -32,7 +32,6 @@ GraphWidget::GraphWidget(MainWindow *main, QAction *action) :
|
|||||||
QShortcut *toggle_shortcut = new QShortcut(widgetShortcuts["GraphWidget"], main);
|
QShortcut *toggle_shortcut = new QShortcut(widgetShortcuts["GraphWidget"], main);
|
||||||
connect(toggle_shortcut, &QShortcut::activated, this, [ = ]() {
|
connect(toggle_shortcut, &QShortcut::activated, this, [ = ]() {
|
||||||
toggleDockWidget(true);
|
toggleDockWidget(true);
|
||||||
main->updateDockActionChecked(action);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(graphView, &DisassemblerGraphView::nameChanged, this, &MemoryDockWidget::updateWindowTitle);
|
connect(graphView, &DisassemblerGraphView::nameChanged, this, &MemoryDockWidget::updateWindowTitle);
|
||||||
|
Loading…
Reference in New Issue
Block a user