--- a/libkwave/undo/UndoDeleteAction.cpp
+++ b/libkwave/undo/UndoDeleteAction.cpp
@@ -67,6 +67,8 @@
 //***************************************************************************
 bool UndoDeleteAction::store(SignalManager &manager)
 {
+    if (!m_length) return true; // shortcut: this is an empty action
+
     MultiTrackReader reader(Kwave::SinglePassForward, manager,
 	m_track_list, m_offset, m_offset + m_length - 1);
 
@@ -93,6 +95,8 @@
 	redo_action->store(manager);
     }
 
+    if (!m_length) return redo_action; // shortcut: this is an empty action
+
     // perform the undo operation
     if (!m_mime_data.decode(m_parent_widget, &m_mime_data,
                             manager, m_offset))