Commit 044c1ea7 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix crash in rainbow plugins

parent dfefacfa
Pipeline #236812 passed with stage
in 13 minutes and 26 seconds
......@@ -91,6 +91,10 @@ static void getSavedRangesForDoc(std::vector<RainbowParenPluginView::SavedRanges
void RainbowParenPluginView::viewChanged(KTextEditor::View *view)
if (!view) {
// disconnect and clear previous doc stuff
if (m_activeView) {
disconnect(m_activeView, &KTextEditor::View::verticalScrollPositionChanged, this, &RainbowParenPluginView::rehighlight);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment