summaryrefslogtreecommitdiffstats
path: root/gui/groupview
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-02-04 21:18:02 +0100
committerPetr Mrázek <peterix@gmail.com>2014-02-04 21:18:02 +0100
commitc84c51860d4a39f9219998826c093e4e60b7bf0a (patch)
tree503a92f41b58bfa91a16e6b6a7c4e1a058de361c /gui/groupview
parent6206a241ea51864b22d493d5b7b0a9282c754571 (diff)
downloadMultiMC-c84c51860d4a39f9219998826c093e4e60b7bf0a.tar
MultiMC-c84c51860d4a39f9219998826c093e4e60b7bf0a.tar.gz
MultiMC-c84c51860d4a39f9219998826c093e4e60b7bf0a.tar.lz
MultiMC-c84c51860d4a39f9219998826c093e4e60b7bf0a.tar.xz
MultiMC-c84c51860d4a39f9219998826c093e4e60b7bf0a.zip
Fix crash bug related to data changes in new group view.
Diffstat (limited to 'gui/groupview')
-rw-r--r--gui/groupview/GroupView.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/groupview/GroupView.cpp b/gui/groupview/GroupView.cpp
index 89e3e223..fb4b45f4 100644
--- a/gui/groupview/GroupView.cpp
+++ b/gui/groupview/GroupView.cpp
@@ -48,10 +48,14 @@ GroupView::~GroupView()
void GroupView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight,
const QVector<int> &roles)
{
+ /*
if (roles.contains(GroupViewRoles::GroupRole) || roles.contains(Qt::DisplayRole))
{
+ */
updateGeometries();
+ /*
}
+ */
viewport()->update();
}
void GroupView::rowsInserted(const QModelIndex &parent, int start, int end)