From 94c3fc13d6f93ac4166faaa279c866fc469fba24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20Holene=20L=C3=B8kkeborg?= <thomahl@stud.ntnu.no>
Date: Sun, 22 Mar 2020 19:07:03 +0100
Subject: [PATCH] Apply suggestion to soitool/soi_workspace_widget.py

---
 soitool/soi_workspace_widget.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/soitool/soi_workspace_widget.py b/soitool/soi_workspace_widget.py
index 796134a..9aece13 100644
--- a/soitool/soi_workspace_widget.py
+++ b/soitool/soi_workspace_widget.py
@@ -98,7 +98,7 @@ class SOIWorkspaceWidget(QWidget):
                 if not module_name:
                     module_name = "{} {}".format(
                         module_choice,
-                        str(len(self.soi.modules) + len(self.soi.attachments)),
+                        str(len(self.soi.modules) + len(self.soi.attachments) + 1),
                     )
 
                 try:
-- 
GitLab