Commit a9e68fac authored by Thomas Friedrichsmeier's avatar Thomas Friedrichsmeier
Browse files

Fix optionset header status updating.

parent 717e39a1
......@@ -153,6 +153,7 @@ public:
connect (source_model, SIGNAL (rowsInserted(const QModelIndex&,int,int)), this, SLOT (r_rowsInserted(QModelIndex,int,int)));
connect (source_model, SIGNAL (rowsRemoved(const QModelIndex&,int,int)), this, SLOT (r_rowsRemoved(QModelIndex,int,int)));
connect (source_model, SIGNAL (dataChanged(QModelIndex,QModelIndex)), this, SLOT (r_dataChanged(QModelIndex,QModelIndex)));
connect (source_model, SIGNAL (headerDataChanged(Qt::Orientation,int,int)), this, SLOT (r_headerDataChanged(Qt::Orientation,int,int)));
connect (source_model, SIGNAL (layoutChanged()), this, SLOT (r_layoutChanged()));
QAbstractProxyModel::setSourceModel (source_model);
}
......@@ -183,6 +184,9 @@ public slots:
void r_dataChanged (const QModelIndex& from, const QModelIndex& to) {
emit (dataChanged (mapFromSource (from), mapFromSource (to)));
}
void r_headerDataChanged(Qt::Orientation o,int from,int to) {
emit (headerDataChanged (o, from, to));
}
void r_layoutChanged () {
emit (layoutChanged());
}
......
......@@ -19,7 +19,7 @@
</text>
<tabbook>
<tab label="Manual set">
<optionset id="mset" exp_mode="accordion">
<optionset id="mset" min_rows="1">
<content>
<row>
<varselector id="vars"/>
......@@ -36,7 +36,7 @@
</optionset>
</tab>
<tab label="Manual set B">
<optionset id="msetb" exp_mode="detached">
<optionset id="msetb">
<content>
<frame>
<optiondisplay index="true"/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment