From e989a412665303f37f950584370db4b6e5eb7198 Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 10 Jul 2013 16:44:37 +0200 Subject: Sort MappingEditor on the fly --- archiveview.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'archiveview.cpp') diff --git a/archiveview.cpp b/archiveview.cpp index 35eaeca..20ce072 100644 --- a/archiveview.cpp +++ b/archiveview.cpp @@ -475,6 +475,7 @@ void MappingEditor::addItem(){ QStandardItem *newItem = new QStandardItem(itemName); newItem->setIcon(QIcon(":/huge_bra.png")); mModel->appendRow(newItem); + mProxy->sort(0, mProxy->sortOrder()); mEditor->clear(); } -- cgit v1.2.3-70-g09d2