Skip to content

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

C

Add Cut command shortcut to RenameCell exception list

manongjohn1304d53b74ef
diff --git a/toonz/sources/toonz/xshcellviewer.cpp b/toonz/sources/toonz/xshcellviewer.cpp
index 32dfad496..f06fa0060 100644
--- a/toonz/sources/toonz/xshcellviewer.cpp
+++ b/toonz/sources/toonz/xshcellviewer.cpp
@@ -750,7 +750,7 @@ bool RenameCellField::eventFilter(QObject *obj, QEvent *e) {
// These are usally standard ctrl/command strokes for text editing.
// Default to standard behavior and don't execute OT's action while renaming cell.
if (actionId == "MI_Undo" || actionId == "MI_Redo"
- || actionId == "MI_Clear" || actionId == "MI_Copy" || actionId == "MI_Paste"
+ || actionId == "MI_Clear" || actionId == "MI_Copy" || actionId == "MI_Paste" || actionId == "MI_Cut"
) return QObject::eventFilter(obj, e); //return true;
return TCellSelection::isEnabledCommand(actionId);
}