Fix crash when using graph shortcut (#1801)

This commit is contained in:
karliss 2019-09-28 18:21:13 +03:00 committed by GitHub
parent fee8db6ad8
commit 88553ae7d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,6 @@ GraphWidget::GraphWidget(MainWindow *main, QAction *action) :
QShortcut *toggle_shortcut = new QShortcut(widgetShortcuts["GraphWidget"], main);
connect(toggle_shortcut, &QShortcut::activated, this, [ = ]() {
toggleDockWidget(true);
main->updateDockActionChecked(action);
});
connect(graphView, &DisassemblerGraphView::nameChanged, this, &MemoryDockWidget::updateWindowTitle);