From 2b9cceca5e5fa11233cd388f28c569ce41ac967f Mon Sep 17 00:00:00 2001
From: thomahl <thomahl@stud.ntnu.no>
Date: Tue, 3 Mar 2020 14:04:59 +0100
Subject: [PATCH] #18 mer deskriptivt navn til ViewArea

---
 soitool/main_window.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/soitool/main_window.py b/soitool/main_window.py
index 6a7ae08..1adeebd 100644
--- a/soitool/main_window.py
+++ b/soitool/main_window.py
@@ -123,7 +123,7 @@ class SOIWorkspaceWidget(QWidget):
         self.button_new_module.setStatusTip("Legg til en ny modul")
         self.button_setup = QPushButton("Oppsett")
         self.list_modules = QListWidget()
-        self.view = ViewArea(self.soi)
+        self.view = InlineEditableSOIView(self.soi)
         self.widget_sidebar = QWidget()
         self.widget_sidebar.setFixedWidth(200)
 
@@ -288,7 +288,7 @@ class SOI():
             x = x + self.MODULE_PADDING + widget_width
 
 
-class ViewArea(QScrollArea):
+class InlineEditableSOIView(QScrollArea):
     """Widget som kan byttes ut med view, edit etc."""
 
     def is_widget_in_scene(self, widget):
-- 
GitLab