Skip to content

Commit 3922700

Browse files
committed
Addons: Fix SwapAxes
1 parent 9cf772d commit 3922700

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

addons/src/swapaxes/utils-swapaxes.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ bool Utils::swapAxes(QPlainTextEdit* textEdit,
115115
regex.setPatternOptions(QRegularExpression::CaseInsensitiveOption);
116116
}
117117

118-
textEdit->blockSignals(true);
119-
120118
inSelection = textEdit->textCursor().hasSelection();
121119

122120
if (inSelection) {
@@ -262,7 +260,5 @@ bool Utils::swapAxes(QPlainTextEdit* textEdit,
262260
textEdit->setTextCursor(cursor);
263261
}
264262

265-
textEdit->blockSignals(false);
266-
267263
return found;
268264
}

0 commit comments

Comments
 (0)