diff --git a/toonz/sources/toonz/cellselection.cpp b/toonz/sources/toonz/cellselection.cpp index 9452959..bc72f33 100644 --- a/toonz/sources/toonz/cellselection.cpp +++ b/toonz/sources/toonz/cellselection.cpp @@ -2403,6 +2403,11 @@ void TCellSelection::createBlankDrawing(int row, int col, bool multiple) { } if (!toolHandle->getTool()->m_isFrameCreated) { + if (!isAutoCreateEnabled) + Preferences::instance()->setValue(EnableAutocreation, false, false); + if (!isCreationInHoldCellsEnabled) + Preferences::instance()->setValue(EnableCreationInHoldCells, false, + false); if (!multiple) DVGui::warning(QObject::tr( "Unable to replace the current drawing with a blank drawing")); @@ -2544,6 +2549,11 @@ void TCellSelection::duplicateFrame(int row, int col, bool multiple) { bool frameCreated = toolHandle->getTool()->m_isFrameCreated; if (!frameCreated) { + if (!isAutoCreateEnabled) + Preferences::instance()->setValue(EnableAutocreation, false, false); + if (!isCreationInHoldCellsEnabled) + Preferences::instance()->setValue(EnableCreationInHoldCells, false, + false); if (!multiple) DVGui::warning( QObject::tr("Unable to replace the current or next drawing with a "