Fixing bugs when deleting object with dependencies.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0ae301fea0
commit
5f82a3e3a4
2 changed files with 1 additions and 16 deletions
|
@ -105,7 +105,7 @@ class DrawableObject {
|
|||
delete() {
|
||||
for(var toRemove of this.requiredBy) {
|
||||
toRemove.delete()
|
||||
currentObjects[toRemove.type] = currentObjects[toRemove.type].filter(obj => obj.name != toRemove.name)
|
||||
Objects.currentObjects[toRemove.type] = Objects.currentObjects[toRemove.type].filter(obj => obj.name != toRemove.name)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=LogarithmPlotter
|
||||
GenericName=2D plotter software
|
||||
GenericName[fr]=Logiciel de traçage 2D
|
||||
Comment=Create BODE diagrams, sequences and repartition functions.
|
||||
Comment[fr]=Créer des diagrammes de BODE, des suites et des fonctions de répartition.
|
||||
|
||||
Exec=/usr/bin/python3 /home/ad5001/Apps/LogarithmPlotter//run.py %f
|
||||
Icon=logarithmplotter
|
||||
MimeType=application/x-logarithm-plot;
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Math
|
Loading…
Reference in a new issue