Properly handle IDLE response while in programming state

Set sensible programmer minimum size
master
Timothy Pearson 12 years ago
parent 2c95bfffaf
commit 078cfe2e28

@ -104,6 +104,7 @@ FPGAProgramPart::FPGAProgramPart(TQWidget *parentWidget, const char *widgetName,
m_base = new FPGAProgramBase(widget());
// Initialize widgets
m_base->setMinimumSize(500,350);
m_base->programmingLogBox->setReadOnly(true);
connect(m_base->programRunButton, SIGNAL(clicked()), this, SLOT(programRunButtonClicked()));
connect(m_base->clearProgrammingLogButton, SIGNAL(clicked()), this, SLOT(clearProgrammingLogBox()));
@ -491,6 +492,13 @@ void FPGAProgramPart::mainEventLoop() {
KMessageBox::error(0, i18n("<qt>Unknown error</qt>"), i18n("Program Failed"));
processLockouts();
}
else if (result == "IDLE") {
m_socket->clearFrameTail();
setTickerMessage(i18n("Initializing..."));
// Request status
ds << TQString("STATUS");
m_socket->writeEndOfFrame();
}
else {
// Unknown response
// Request status

Loading…
Cancel
Save