QTfrontend/ui/page/pageoptions.cpp
changeset 7681 26978d581070
parent 7680 46a91cbed8db
child 7700 fc44e4e33d1c
--- a/QTfrontend/ui/page/pageoptions.cpp	Sun Sep 09 14:45:21 2012 +0400
+++ b/QTfrontend/ui/page/pageoptions.cpp	Sun Sep 09 15:37:10 2012 +0400
@@ -403,6 +403,7 @@
             QPushButton * btn = new QPushButton(this);
             gbCLayout->addWidget(btn, (model->rowCount() - 1) / 3 + 1, 0, 1, 3);
             btn->setText(tr("Reset to default colors"));
+            connect(btn, SIGNAL(clicked()), &DataManager::instance(), SLOT(resetColors()));
         }
 
         {