From 736e644861129f75a023f51e1a5d0d56714d632c Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Sat, 19 Dec 2020 19:44:30 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9solution=20#31=20Edition=20d'une=20class?= =?UTF-8?q?e=20inexistante?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AppThinker/app.properties | 4 ++-- AppThinker/src/UmlDiagram.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AppThinker/app.properties b/AppThinker/app.properties index f15df0d..5a83524 100644 --- a/AppThinker/app.properties +++ b/AppThinker/app.properties @@ -1,2 +1,2 @@ -#Sat Dec 19 19:04:03 CET 2020 -isFirstLaunch=true +#Sat Dec 19 19:42:31 CET 2020 +isFirstLaunch=false diff --git a/AppThinker/src/UmlDiagram.java b/AppThinker/src/UmlDiagram.java index 89b9073..2decb2c 100644 --- a/AppThinker/src/UmlDiagram.java +++ b/AppThinker/src/UmlDiagram.java @@ -182,6 +182,7 @@ public class UmlDiagram extends Composition { //On supprime la classe principale. Par défaut, la 1ère classe créée devient la classe principale. this._classes.remove(c); if(_mainClass == c && _classes.size() != 0) _mainClass = _classes.get(0); + _selected = null; } /**