Commit 65bb8e29 authored by Thomas Eschenbacher's avatar Thomas Eschenbacher

(EBN)

parent d44daf15
...@@ -1915,7 +1915,7 @@ void Kwave::SignalManager::deleteLabel(int index, bool with_undo) ...@@ -1915,7 +1915,7 @@ void Kwave::SignalManager::deleteLabel(int index, bool with_undo)
if (with_undo) startUndoTransaction(i18n("Delete All Labels")); if (with_undo) startUndoTransaction(i18n("Delete All Labels"));
for (index = count - 1; index >= 0; index--) { for (index = count - 1; index >= 0; --index) {
Kwave::MetaData label(labels.at(index)); Kwave::MetaData label(labels.at(index));
if (with_undo) { if (with_undo) {
if (!registerUndoAction(new(std::nothrow) if (!registerUndoAction(new(std::nothrow)
......
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