From 954f842db0413dd3b25c25604bd5ac5e0ea22a10 Mon Sep 17 00:00:00 2001 From: manongjohn Date: Wed, 26 Jan 2022 17:22:50 -0500 Subject: [PATCH] Fix "Undefined" Autorenumber action in History --- toonz/sources/toonz/cellselection.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toonz/sources/toonz/cellselection.cpp b/toonz/sources/toonz/cellselection.cpp index 145e2f6c..c7b16ea8 100644 --- a/toonz/sources/toonz/cellselection.cpp +++ b/toonz/sources/toonz/cellselection.cpp @@ -433,6 +433,9 @@ class RenumberUndo::RedoNotifier final : public TUndo { } int getSize() const override { return sizeof(*this); } + + QString getHistoryString() override { return QObject::tr("Autorenumber"); } + int getHistoryType() override { return HistoryType::Xsheet; } }; class RenumberUndo::UndoNotifier final : public TUndo { @@ -443,6 +446,9 @@ class RenumberUndo::UndoNotifier final : public TUndo { } int getSize() const override { return sizeof(*this); } + + QString getHistoryString() override { return QObject::tr("Autorenumber"); } + int getHistoryType() override { return HistoryType::Xsheet; } }; //=============================================================================