QTfrontend/ui/page/pageoptions.cpp
changeset 7680 46a91cbed8db
parent 7678 8aabba680598
child 7681 26978d581070
--- a/QTfrontend/ui/page/pageoptions.cpp	Sun Sep 09 13:40:02 2012 +0400
+++ b/QTfrontend/ui/page/pageoptions.cpp	Sun Sep 09 14:45:21 2012 +0400
@@ -399,6 +399,10 @@
             }
 
             connect(mapper, SIGNAL(mapped(int)), this, SLOT(colorButtonClicked(int)));
+
+            QPushButton * btn = new QPushButton(this);
+            gbCLayout->addWidget(btn, (model->rowCount() - 1) / 3 + 1, 0, 1, 3);
+            btn->setText(tr("Reset to default colors"));
         }
 
         {