summaryrefslogtreecommitdiffstats
path: root/clients/tde/src/part/fpgaprogram
diff options
context:
space:
mode:
Diffstat (limited to 'clients/tde/src/part/fpgaprogram')
-rw-r--r--clients/tde/src/part/fpgaprogram/part.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/tde/src/part/fpgaprogram/part.cpp b/clients/tde/src/part/fpgaprogram/part.cpp
index cf35dcf..a9dd169 100644
--- a/clients/tde/src/part/fpgaprogram/part.cpp
+++ b/clients/tde/src/part/fpgaprogram/part.cpp
@@ -363,7 +363,7 @@ void FPGAProgramPart::mainEventLoop() {
break;
}
}
- else if (m_commHandlerMode == 1) {
+ else if (m_commHandlerMode == ModeProgramming) {
// Program mode!
if (m_commHandlerState == ModeProgramming_StateReadFile) {
m_base->programmingStatusLabel->setText(i18n("Reading input file") + "...");