AToMPM / atompm

A Tool for Multi-Paradigm Modeling
https://atompm.github.io/
GNU Lesser General Public License v3.0
22 stars 15 forks source link

close toolbar not closing after undo #58

Closed esyriani closed 4 years ago

esyriani commented 6 years ago

I load a model. Then I load its metamodel (as a class diagram). I undo the last operation. I press the "close toolbar" icon, but it does not remove the toolbar. The following error is output to the console: Uncaught TypeError: Cannot read property 'types' of undefined at setupAndShowToolbar (gui_utils.js:538) at query_response.js:319 at Array.forEach () at __handleChangelog (query_response.js:79) at SocketNamespace. (init.js:132) at SocketNamespace.EventEmitter.emit [as $emit] (socket.io.js:633) at SocketNamespace.onPacket (socket.io.js:2248) at Socket.onPacket (socket.io.js:1930) at WS.Transport.onPacket (socket.io.js:1332) at WS.Transport.onData (socket.io.js:1303)

BentleyJOakes commented 4 years ago

Fixed by 3bdc5aa3958c5617987adede1693f30a77bd14c9