ui/qt/model.cpp

changeset 130
212b63dd61be
parent 72
a00b46d92c54
--- a/ui/qt/model.cpp	Sat Sep 17 19:57:55 2016 +0200
+++ b/ui/qt/model.cpp	Sun Sep 18 07:45:42 2016 +0200
@@ -131,6 +131,10 @@
     return QVariant();
 }
 
+void TableModel::update() {
+    emit dataChanged(QModelIndex(),QModelIndex());
+}
+
 void TableModel::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) {
     UiListSelection *selection = listSelection(view->selectionModel());
     

mercurial