Commit bb499d97 authored by David Saxton's avatar David Saxton

don't sort items (preserves order of parameters).

svn path=/trunk/KDE/kdeedu/kmplot/; revision=559441
parent 70a6e6e2
......@@ -60,7 +60,6 @@ KParameterEditor::KParameterEditor( QList<Value> *l, QWidget *parent )
foreach ( Value v, *m_parameter )
m_mainWidget->list->addItem( v.expression() );
m_mainWidget->list->sortItems();
connect( m_mainWidget->cmdNew, SIGNAL( clicked() ), this, SLOT( cmdNew_clicked() ));
connect( m_mainWidget->cmdDelete, SIGNAL( clicked() ), this, SLOT( cmdDelete_clicked() ));
......@@ -128,7 +127,6 @@ void KParameterEditor::cmdDelete_clicked()
delete item;
m_mainWidget->cmdDelete->setEnabled( m_mainWidget->list->currentItem() != 0 );
m_mainWidget->list->sortItems();
}
......@@ -195,7 +193,6 @@ void KParameterEditor::cmdImport_clicked()
if ( !checkTwoOfIt(line) )
{
m_mainWidget->list->addItem(line);
m_mainWidget->list->sortItems();
}
}
else if ( !verbose)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment