Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 1d7351bf authored by Boudewijn Rempt's avatar Boudewijn Rempt

do not try to execute an empty action list

parent 9b92c289
......@@ -66,6 +66,10 @@ void KisMacroPlayer::run()
d->paused = false;
QList<KisRecordedAction*> actions = d->macro->actions();
if (actions.size() < 1) {
dbgImage << "Start playing macro with " << actions.size() << " actions";
if (d->info.undoAdapter()) {
d->info.undoAdapter()->beginMacro(i18n("Play macro"));
......@@ -97,7 +101,7 @@ void KisMacroPlayer::run()
#include "kis_macro_player.moc"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment