From 3c9e3be550e7432460ee501cbd16ffb82acbd206 Mon Sep 17 00:00:00 2001
From: xarkes <antide.petit@gmail.com>
Date: Thu, 12 Oct 2017 14:03:09 +0200
Subject: [PATCH] Fix segfault

---
 src/MainWindow.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 71d76f8b..f6419920 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -518,7 +518,6 @@ void MainWindow::updateFrames()
             if (w) {
                 w->setup();
             }
-            w->setup();
         }
 
         first_time = false;
@@ -531,7 +530,6 @@ void MainWindow::updateFrames()
             if (w) {
                 w->refresh();
             }
-            w->refresh();
         }
     }