summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditordialog.cpp1
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
@@ -106,24 +106,25 @@ void ProfileEditorDialog::initUI()
106 vbox->add(conn_widget); 106 vbox->add(conn_widget);
107 vbox->setStretchFactor(device, 1); 107 vbox->setStretchFactor(device, 1);
108 vbox->setStretchFactor(device_box, 1); 108 vbox->setStretchFactor(device_box, 1);
109 vbox->setStretchFactor(plugin_base, 1); 109 vbox->setStretchFactor(plugin_base, 1);
110 vbox->setStretchFactor(conn_widget, 7); 110 vbox->setStretchFactor(conn_widget, 7);
111 111
112 QVBoxLayout *vbox2 = new QVBoxLayout(tabterm, 2); 112 QVBoxLayout *vbox2 = new QVBoxLayout(tabterm, 2);
113 vbox2->add(term_widget); 113 vbox2->add(term_widget);
114 114
115 tabWidget->addTab(tabprof, "", QObject::tr("Profile")); 115 tabWidget->addTab(tabprof, "", QObject::tr("Profile"));
116 tabWidget->addTab(tabconn, "", QObject::tr("Connection")); 116 tabWidget->addTab(tabconn, "", QObject::tr("Connection"));
117 tabWidget->addTab(tabterm, "", QObject::tr("Terminal")); 117 tabWidget->addTab(tabterm, "", QObject::tr("Terminal"));
118 tabWidget->setCurrentTab( tabprof );
118 119
119 // load profile values 120 // load profile values
120 name_line->setText(m_prof.name()); 121 name_line->setText(m_prof.name());
121 for(int i = 0; i < device_box->count(); i++) 122 for(int i = 0; i < device_box->count(); i++)
122 { 123 {
123 device_box->setCurrentItem(i); 124 device_box->setCurrentItem(i);
124 if(prof_type() == m_prof.ioLayerName()) 125 if(prof_type() == m_prof.ioLayerName())
125 { 126 {
126 slotDevice(i); 127 slotDevice(i);
127 break; 128 break;
128 } 129 }
129 } 130 }