summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profileeditordialog.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditordialog.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.cpp b/noncore/apps/opie-console/profileeditordialog.cpp
index 061b1c2..c5c6248 100644
--- a/noncore/apps/opie-console/profileeditordialog.cpp
+++ b/noncore/apps/opie-console/profileeditordialog.cpp
@@ -149,6 +149,11 @@ void ProfileEditorDialog::accept()
149 qWarning("Term %s %s", m_fact->internal(m_termCmb->currentText() ).data(), 149 qWarning("Term %s %s", m_fact->internal(m_termCmb->currentText() ).data(),
150 m_termCmb->currentText().latin1() ); 150 m_termCmb->currentText().latin1() );
151 151
152 if (m_con )
153 m_con->save( m_prof );
154 if (m_term )
155 m_term->save( m_prof );
156
152 QDialog::accept(); 157 QDialog::accept();
153} 158}
154 159
@@ -181,10 +186,12 @@ void ProfileEditorDialog::slotConActivated( const QString& str ) {
181 */ 186 */
182void ProfileEditorDialog::slotTermActivated( const QString& str ) { 187void ProfileEditorDialog::slotTermActivated( const QString& str ) {
183 delete m_term; 188 delete m_term;
184 m_term = m_fact->newTerminalPlugin( str, 0l ); 189 m_term = m_fact->newTerminalPlugin( str, m_tabTerm );
185 qWarning("past"); 190 qWarning("past");
186 191
187 if (m_term) 192 if (m_term) {
193 m_term->load(m_prof );
188 m_layTerm->addWidget( m_term ); 194 m_layTerm->addWidget( m_term );
189} 195}
196}
190 197