Diffstat (limited to 'core/apps/embeddedkonsole/commandeditdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/commandeditdialog.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/commandeditdialog.cpp b/core/apps/embeddedkonsole/commandeditdialog.cpp index e8ef858..ce21c47 100644 --- a/core/apps/embeddedkonsole/commandeditdialog.cpp +++ b/core/apps/embeddedkonsole/commandeditdialog.cpp | |||
@@ -200,25 +200,24 @@ int i = 0; | |||
200 | 200 | ||
201 | } | 201 | } |
202 | 202 | ||
203 | void CommandEditDialog::showEditDialog() | 203 | void CommandEditDialog::showEditDialog() |
204 | { | 204 | { |
205 | editCommandBase *d = new editCommandBase(this,"smalleditdialog", TRUE); | 205 | editCommandBase *d = new editCommandBase(this,"smalleditdialog", TRUE); |
206 | d->setCaption("Edit command"); | 206 | d->setCaption("Edit command"); |
207 | d->TextLabel->setText("Edit command:"); | 207 | d->TextLabel->setText("Edit command:"); |
208 | d->commandEdit->setText(m_PlayListSelection->currentItem()->text(0)); | 208 | d->commandEdit->setText(m_PlayListSelection->currentItem()->text(0)); |
209 | int i = d->exec(); | 209 | int i = d->exec(); |
210 | if ((i==1) && (!(d->commandEdit->text()).isEmpty())) | 210 | if ((i==1) && (!(d->commandEdit->text()).isEmpty())) |
211 | m_PlayListSelection->currentItem()->setText(0,(d->commandEdit->text())); | 211 | m_PlayListSelection->currentItem()->setText(0,(d->commandEdit->text())); |
212 | } | 212 | } |
213 | 213 | ||
214 | void CommandEditDialog::showAddDialog() | 214 | void CommandEditDialog::showAddDialog() |
215 | { | 215 | { |
216 | 216 | ||
217 | editCommandBase *d = new editCommandBase(this,"smalleditdialog", TRUE); | 217 | editCommandBase *d = new editCommandBase(this,"smalleditdialog", TRUE); |
218 | int i = d->exec(); | 218 | int i = d->exec(); |
219 | if ((i==1) && (!(d->commandEdit->text()).isEmpty())) | 219 | if ((i==1) && (!(d->commandEdit->text()).isEmpty())) |
220 | m_PlayListSelection->addStringToSelection(d->commandEdit->text()); | 220 | m_PlayListSelection->addStringToSelection(d->commandEdit->text()); |
221 | 221 | ||
222 | } | 222 | } |
223 | 223 | ||
224 | |||