Fix previous commits

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2731 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-01-10 18:17:21 +00:00
parent ec9a3c83c3
commit 9f3120e7f1

View File

@@ -66,6 +66,8 @@ void FolioReportProperties::buildRadioList() {
hl->addWidget(pb); hl->addWidget(pb);
ui->available_report_layout->addLayout(hl); ui->available_report_layout->addLayout(hl);
element_list << elmt; element_list << elmt;
qSort(element_list);
qDebug() <<element_list;
//map the radio button signal //map the radio button signal
connect(rb, SIGNAL(clicked()), sm_, SLOT(map())); connect(rb, SIGNAL(clicked()), sm_, SLOT(map()));
sm_ -> setMapping(rb, element_list.size()-1); sm_ -> setMapping(rb, element_list.size()-1);