-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.cpp b/noncore/apps/opie-console/profileeditordialog.cpp index be23eff..3843943 100644 --- a/noncore/apps/opie-console/profileeditordialog.cpp +++ b/noncore/apps/opie-console/profileeditordialog.cpp @@ -102,32 +102,33 @@ void ProfileEditorDialog::initUI() QVBoxLayout *vbox = new QVBoxLayout(tabconn, 2); vbox->add(device); vbox->add(device_box); vbox->add(plugin_base); vbox->add(conn_widget); vbox->setStretchFactor(device, 1); vbox->setStretchFactor(device_box, 1); vbox->setStretchFactor(plugin_base, 1); vbox->setStretchFactor(conn_widget, 7); QVBoxLayout *vbox2 = new QVBoxLayout(tabterm, 2); vbox2->add(term_widget); tabWidget->addTab(tabprof, "", QObject::tr("Profile")); tabWidget->addTab(tabconn, "", QObject::tr("Connection")); tabWidget->addTab(tabterm, "", QObject::tr("Terminal")); + tabWidget->setCurrentTab( tabprof ); // load profile values name_line->setText(m_prof.name()); for(int i = 0; i < device_box->count(); i++) { device_box->setCurrentItem(i); if(prof_type() == m_prof.ioLayerName()) { slotDevice(i); break; } } // signals connect(device_box, SIGNAL(activated(int)), SLOT(slotDevice(int))); } |