Commit b86fbb25 authored by Hugo Hörnquist's avatar Hugo Hörnquist

minor cleanup on money account list

parent df2dd777
......@@ -318,7 +318,9 @@ MainWindow::MainWindow(QWidget *parent) :
accModel->select();
accModel->setHeaderData(0, Qt::Horizontal, "Namn");
accModel->setHeaderData(1, Qt::Horizontal, "Kronor");
// Don't actualy try to submit on this table
accModel->setEditStrategy(QSqlTableModel::OnManualSubmit);
ui->accTreeView->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
setMoneyAccountValues();
......
......@@ -778,6 +778,9 @@
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
......
Markdown is supported
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