From 7e7a7626177f79633f0b5db25a95957b2741d1ce Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 24 Jul 2015 09:29:33 +0200 Subject: [PATCH] Fixes #2535 --- companion/src/printdialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/companion/src/printdialog.cpp b/companion/src/printdialog.cpp index b3be6caf0..53724fbe1 100644 --- a/companion/src/printdialog.cpp +++ b/companion/src/printdialog.cpp @@ -83,8 +83,10 @@ void PrintDialog::printSetup() str.append(""); str.append(fv(tr("Name"), g_model->name)); str.append(fv(tr("EEprom Size"), QString("%1").arg(firmware->getEepromInterface()->getSize(*g_model)))); - str.append(fv(tr("Timer1"), getTimerStr(g_model->timers[0]))); //value, mode, count up/down - str.append(fv(tr("Timer2"), getTimerStr(g_model->timers[1]))); //value, mode, count up/down + + for (int i=0; igetCapability(Timers); i++) { + str.append(fv(tr("Timer%1").arg(i+1), getTimerStr(g_model->timers[i]))); // value, mode, count up/down + } if (firmware->getCapability(NumModules)>1) { str.append(""+(IS_TARANIS(firmware->getBoard()) ? tr("Internal Radio System") : tr("Radio System") )+"
  "); //proto, numch, delay,