From 010fe80b3e44cee70422a1f19367f7630fd8a7ab Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 2 May 2011 23:13:47 +0300 Subject: Fix reading attack delay. --- src/gui/debugwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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 -- cgit v1.2.3-70-g09d2