-rw-r--r-- | noncore/apps/opie-console/terminalwidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/terminalwidget.cpp b/noncore/apps/opie-console/terminalwidget.cpp index eae94c3..fc0f3ce 100644 --- a/noncore/apps/opie-console/terminalwidget.cpp +++ b/noncore/apps/opie-console/terminalwidget.cpp | |||
@@ -122,24 +122,25 @@ void TerminalWidget::load( const Profile& prof ) { | |||
122 | m_terminalBox->setCurrentItem(id_term_vt100 ); | 122 | m_terminalBox->setCurrentItem(id_term_vt100 ); |
123 | break; | 123 | break; |
124 | case Profile::VT102: | 124 | case Profile::VT102: |
125 | m_terminalBox->setCurrentItem(id_term_vt102 ); | 125 | m_terminalBox->setCurrentItem(id_term_vt102 ); |
126 | break; | 126 | break; |
127 | case Profile::Linux: | 127 | case Profile::Linux: |
128 | m_terminalBox->setCurrentItem(id_term_linux ); | 128 | m_terminalBox->setCurrentItem(id_term_linux ); |
129 | break; | 129 | break; |
130 | case Profile::XTerm: | 130 | case Profile::XTerm: |
131 | m_terminalBox->setCurrentItem(id_term_xterm ); | 131 | m_terminalBox->setCurrentItem(id_term_xterm ); |
132 | break; | 132 | break; |
133 | default: | 133 | default: |
134 | m_terminalBox->setCurrentItem(id_term_vt102 ); | ||
134 | break; | 135 | break; |
135 | }; | 136 | }; |
136 | 137 | ||
137 | switch( color ) { | 138 | switch( color ) { |
138 | case Profile::Black: | 139 | case Profile::Black: |
139 | m_colorCmb->setCurrentItem(id_term_black ); | 140 | m_colorCmb->setCurrentItem(id_term_black ); |
140 | break; | 141 | break; |
141 | case Profile::White: | 142 | case Profile::White: |
142 | m_colorCmb->setCurrentItem(id_term_white ); | 143 | m_colorCmb->setCurrentItem(id_term_white ); |
143 | break; | 144 | break; |
144 | case Profile::Green: | 145 | case Profile::Green: |
145 | m_colorCmb->setCurrentItem(id_term_green ); | 146 | m_colorCmb->setCurrentItem(id_term_green ); |
@@ -152,26 +153,26 @@ void TerminalWidget::load( const Profile& prof ) { | |||
152 | }; | 153 | }; |
153 | 154 | ||
154 | switch( fontsize ) { | 155 | switch( fontsize ) { |
155 | case Profile::Micro: | 156 | case Profile::Micro: |
156 | m_sizeSmall->setChecked(true ); | 157 | m_sizeSmall->setChecked(true ); |
157 | break; | 158 | break; |
158 | case Profile::Small: | 159 | case Profile::Small: |
159 | m_sizeMedium->setChecked(true ); | 160 | m_sizeMedium->setChecked(true ); |
160 | break; | 161 | break; |
161 | case Profile::Medium: | 162 | case Profile::Medium: |
162 | m_sizeLarge->setChecked( true ); | 163 | m_sizeLarge->setChecked( true ); |
163 | break; | 164 | break; |
164 | m_sizeSmall->setChecked(true); | ||
165 | default: | 165 | default: |
166 | m_sizeMedium->setChecked(true ); | ||
166 | break; | 167 | break; |
167 | }; | 168 | }; |
168 | 169 | ||
169 | if (opt_echo) m_optionEcho->setChecked( true ); | 170 | if (opt_echo) m_optionEcho->setChecked( true ); |
170 | if (opt_wrap) m_optionWrap->setChecked( true ); | 171 | if (opt_wrap) m_optionWrap->setChecked( true ); |
171 | if (opt_inbound) m_convInbound->setChecked( true ); | 172 | if (opt_inbound) m_convInbound->setChecked( true ); |
172 | if (opt_outbound) m_convOutbound->setChecked( true ); | 173 | if (opt_outbound) m_convOutbound->setChecked( true ); |
173 | 174 | ||
174 | } | 175 | } |
175 | void TerminalWidget::save( Profile& profile ) { | 176 | void TerminalWidget::save( Profile& profile ) { |
176 | switch(m_terminalBox->currentItem() ) { | 177 | switch(m_terminalBox->currentItem() ) { |
177 | case id_term_vt100: | 178 | case id_term_vt100: |