From 7fd6867b121aa6b94a300e95ce0f819870c6c080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Sun, 24 Dec 2017 13:11:29 +0100 Subject: [PATCH] Fix crash in GraphView --- src/widgets/GraphView.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/widgets/GraphView.h b/src/widgets/GraphView.h index 73408a0b..12f00af3 100644 --- a/src/widgets/GraphView.h +++ b/src/widgets/GraphView.h @@ -71,13 +71,13 @@ public: std::vector new_exits; // Number of rows in block - int row_count; + int row_count = 0; // Number of columns in block - int col_count; + int col_count = 0; // Column in which the block is - int col; + int col = 0; // Row in which the block is - int row; + int row = 0; // Edges std::vector edges;