summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/debugwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp
index cf52950c3..e9c79a890 100644
--- a/src/gui/debugwindow.cpp
+++ b/src/gui/debugwindow.cpp
@@ -291,7 +291,7 @@ void TargetDebugTab::logic()
const int delay = target->getAttackDelay();
if (delay)
{
- mAttackDelayLabel = new Label(strprintf("%s %d",
+ mAttackDelayLabel->setCaption(strprintf("%s %d",
_("Attack delay:"), delay));
}
else