From 88553ae7d9aaa38044e5bc0b5673ea17ce35fa2d Mon Sep 17 00:00:00 2001 From: karliss Date: Sat, 28 Sep 2019 18:21:13 +0300 Subject: [PATCH] Fix crash when using graph shortcut (#1801) --- src/widgets/GraphWidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/widgets/GraphWidget.cpp b/src/widgets/GraphWidget.cpp index ac37b8ef..2b711495 100644 --- a/src/widgets/GraphWidget.cpp +++ b/src/widgets/GraphWidget.cpp @@ -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);