Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

remove setFocusPolicy

Abel You364022a22b46
diff --git a/toonz/sources/toonz/xshcellviewer.cpp b/toonz/sources/toonz/xshcellviewer.cpp
index 078568ceb..e758eba85 100644
--- a/toonz/sources/toonz/xshcellviewer.cpp
+++ b/toonz/sources/toonz/xshcellviewer.cpp
@@ -707,9 +707,6 @@ void RenameCellField::showInRowCol(int row, int col, bool multiColumnSelected) {
if (o->cellWidth()-15 < fm.horizontalAdvance(text))
setFixedWidth(fm.horizontalAdvance(text)+10);
});
- connect(this, &QLineEdit::close, m_viewer,
- [this] { m_viewer->setFocusPolicy(Qt::WheelFocus);
- });
}
// other level types
else {