break;
case BNET_RUN_CMD:
if (mainWin->m_commDebug) Pmsg1(000, "conn %i RUN CMD\n", m_conn);
- new runCmdPage();
+ new runCmdPage(m_conn);
break;
case BNET_START_RTREE:
if (mainWin->m_commDebug) Pmsg1(000, "conn %i START RTREE CMD\n", m_conn);
/*
* Setup all the combo boxes and display the dialog
*/
-runCmdPage::runCmdPage()
+runCmdPage::runCmdPage(int conn)
{
m_name = tr("Restore Run");
pgInitialize();
setupUi(this);
QTreeWidgetItem* thisitem = mainWin->getFromHash(this);
thisitem->setIcon(0,QIcon(QString::fromUtf8(":images/restore.png")));
- m_conn = m_console->notifyOff();
+ m_conn = conn;
+ m_console->notify(conn, false);
fill();
m_console->discardToPrompt(m_conn);
displayhtml += cmd + "</font>\n";
m_console->display_html(displayhtml);
m_console->display_text("\n");
- m_console->write_dir(cmd.toUtf8().data());
+ m_console->write_dir(m_conn, cmd.toUtf8().data());
m_console->displayToPrompt(m_conn);
// consoleCommand(cmd); ***FIXME set back to consoleCommand when connection issue is resolved