Skip to content
Snippets Groups Projects
Commit 281d1499 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

[m.i877] Disconnect mask items properly (#877) ()

Merging branch 'm.i877'  into 'main'.

See merge request !2213
parents d8e870d4 61db7ac7
No related branches found
No related tags found
1 merge request!2213Disconnect mask items properly (#877)
Pipeline #122910 canceled
......@@ -139,7 +139,7 @@ void MaskEditorToolpanel::onCustomContextMenuRequested(const QPoint& point)
void MaskEditorToolpanel::setCurrentMaskItem(MaskItem* maskItem)
{
if (m_currentMaskItem)
disconnect(m_currentMaskItem, nullptr, this, nullptr);
disconnect(m_currentMaskItem, nullptr, nullptr, nullptr);
GUI::Util::Layout::clearLayout(m_editor_layout);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment