summaryrefslogtreecommitdiff
path: root/core/apps/embeddedkonsole/commandeditdialog.cpp
Unidiff
Diffstat (limited to 'core/apps/embeddedkonsole/commandeditdialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/commandeditdialog.cpp1
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
203void CommandEditDialog::showEditDialog() 203void CommandEditDialog::showEditDialog()
204{ 204{
205editCommandBase *d = new editCommandBase(this,"smalleditdialog", TRUE); 205editCommandBase *d = new editCommandBase(this,"smalleditdialog", TRUE);
206d->setCaption("Edit command"); 206d->setCaption("Edit command");
207d->TextLabel->setText("Edit command:"); 207d->TextLabel->setText("Edit command:");
208d->commandEdit->setText(m_PlayListSelection->currentItem()->text(0)); 208d->commandEdit->setText(m_PlayListSelection->currentItem()->text(0));
209int i = d->exec(); 209int i = d->exec();
210if ((i==1) && (!(d->commandEdit->text()).isEmpty())) 210if ((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
214void CommandEditDialog::showAddDialog() 214void CommandEditDialog::showAddDialog()
215{ 215{
216 216
217editCommandBase *d = new editCommandBase(this,"smalleditdialog", TRUE); 217editCommandBase *d = new editCommandBase(this,"smalleditdialog", TRUE);
218int i = d->exec(); 218int i = d->exec();
219if ((i==1) && (!(d->commandEdit->text()).isEmpty())) 219if ((i==1) && (!(d->commandEdit->text()).isEmpty()))
220m_PlayListSelection->addStringToSelection(d->commandEdit->text()); 220m_PlayListSelection->addStringToSelection(d->commandEdit->text());
221 221
222} 222}
223 223
224