From e618539ddb7f4782b42c48ec9b7b5715c844baa9 Mon Sep 17 00:00:00 2001 From: joshua Date: Tue, 10 Dec 2019 20:01:39 +0100 Subject: [PATCH] Fix crash when quickly move tab of digramview --- sources/projectview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/projectview.cpp b/sources/projectview.cpp index a750dab42..e84011a1b 100644 --- a/sources/projectview.cpp +++ b/sources/projectview.cpp @@ -824,7 +824,7 @@ void ProjectView::initWidgets() { connect(m_tab, SIGNAL(currentChanged(int)), this, SLOT(tabChanged(int))); connect(m_tab, SIGNAL(tabBarDoubleClicked(int)), this, SLOT(tabDoubleClicked(int))); - connect(m_tab->tabBar(), SIGNAL(tabMoved(int, int)), this, SLOT(tabMoved(int, int))); + connect(m_tab->tabBar(), SIGNAL(tabMoved(int, int)), this, SLOT(tabMoved(int, int)), Qt::QueuedConnection); fallback_widget_ -> setVisible(false); m_tab -> setVisible(false);