QTfrontend/util/DataManager.cpp
changeset 8346 3443e0de2c9d
parent 8049 133e22b5c410
child 8377 869f80966a77
--- a/QTfrontend/util/DataManager.cpp	Fri Dec 28 23:54:42 2012 +0100
+++ b/QTfrontend/util/DataManager.cpp	Sat Dec 29 22:50:10 2012 +0100
@@ -135,6 +135,11 @@
     {
         m_bindsModel = new QStandardItemModel();
 
+        QStandardItem * firstItem = new QStandardItem();
+        firstItem->setData(tr("Use Default"), Qt::DisplayRole);
+        firstItem->setData("default", Qt::UserRole + 1);
+        m_bindsModel->appendRow(firstItem);
+
         for(int j = 0; sdlkeys[j][1][0] != '\0'; j++)
         {
             QStandardItem * item = new QStandardItem();