/*
* Read the items for the selection
*/
-selectDialog::selectDialog(Console *console)
+selectDialog::selectDialog(Console *console, int conn)
{
+ m_conn = conn;
QDateTime dt;
int stat;
QListWidgetItem *item;
setupUi(this);
connect(listBox, SIGNAL(currentRowChanged(int)), this, SLOT(index_change(int)));
setAttribute(Qt::WA_DeleteOnClose);
- m_conn = m_console->notifyOff();
m_console->read(m_conn); /* get title */
labelWidget->setText(m_console->msg(m_conn));
while ((stat=m_console->read(m_conn)) > 0) {
this->hide();
bsnprintf(cmd, sizeof(cmd), "%d", m_index+1);
- m_console->write_dir(cmd);
+ m_console->write_dir(m_conn, cmd);
m_console->displayToPrompt(m_conn);
this->close();
mainWin->resetFocus();
m_console->displayToPrompt(m_conn);
-
+ m_console->notify(m_conn, true);
}
this->close();
mainWin->resetFocus();
m_console->beginNewCommand(m_conn);
+ m_console->notify(m_conn, true);
}
/*