From 7b09ceb81073832bfce8efa11bc7f52c0a1b19e5 Mon Sep 17 00:00:00 2001
From: David Fokkema <davidfokkema@icloud.com>
Date: Fri, 26 Apr 2024 10:24:06 +0200
Subject: [PATCH] Released version 2.0.2

---
 CHANGELOG.md     | 7 +++++++
 build/Info.plist | 2 +-
 build/tailor.wxs | 2 +-
 pyproject.toml   | 2 +-
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index e38ac5b..1b185bb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
 # Changelog
 
+## 2.0.2
+
+### :beetle: Fixes
+
+* Fixed a bug where closing a plot would close the plot _and_ the next tab widget. This is never desired and could lead to the loss of data if the next widget was a data sheet. If there were plots for that data sheet, the project could never be opened again. Loading the project would raise an exeception because of the missing data sheet being referenced by the surviving plot. Thanks for the detailed report, Jurre Heijmen!
+
+
 ## 2.0.1
 
 ### :beetle: Fixes
diff --git a/build/Info.plist b/build/Info.plist
index c378513..1a3413c 100644
--- a/build/Info.plist
+++ b/build/Info.plist
@@ -17,7 +17,7 @@
 	<key>CFBundlePackageType</key>
 	<string>APPL</string>
 	<key>CFBundleShortVersionString</key>
-	<string>2.0.1</string>
+	<string>2.0.2</string>
 	<key>CFBundleVersion</key>
 	<string>1</string>
 	<key>LSMinimumSystemVersion</key>
diff --git a/build/tailor.wxs b/build/tailor.wxs
index 01096f7..f8f14a2 100644
--- a/build/tailor.wxs
+++ b/build/tailor.wxs
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<?define ProductVersion = "2.0.1" ?>
+<?define ProductVersion = "2.0.2" ?>
 <?define ProductUpgradeCode = "e29f156c-a732-5d2c-a4ba-cfc8568a0476" ?>
 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <Product
diff --git a/pyproject.toml b/pyproject.toml
index bb1516e..fde92fb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
 [tool.briefcase]
 project_name = "Tailor"
 bundle = "com.amsphyslab.tailor"
-version = "2.0.1"
+version = "2.0.2"
 url = "https://github.com/davidfokkema/tailor"
 license = "GNU General Public License v3 (GPLv3)"
 author = 'David Fokkema'