NAVADMC / ADSM

A simulation of disease spread in livestock populations. Includes detection and containment simulation.
Other
10 stars 5 forks source link

Project Panel - Duplicate not working #902

Closed missyschoenbaum closed 5 years ago

missyschoenbaum commented 5 years ago

Duplicate with the scenario open is working.

Duplicate by using the duplicate button on the scenario list is not work. It presents the Save As window, but does not save.

Steps to recreate: From any scenario hit project panel fly out observe list of available scenarios hit the duplicate button Scenario Save as window appears give it a new name "duplicateTest" it accepts the new name hit Save as Window goes away, does not make duplicate in app and there is not one in the directory.Duplicatefail1.JPG

missyschoenbaum commented 5 years ago

I forgot to add, delete wasn't working either.

BryanHurst commented 5 years ago

To make this a little more clear. It seems if you duplicate a scenario that is NOT the current open scenario, this works. However, it doesn't work when you attempt to duplicate the current scenario.

missyschoenbaum commented 5 years ago

OK, it worked for me today. It copies it in the background, and also deletes. This looks like user error, so I am going to close.

BryanHurst commented 5 years ago

I'm going to do one small fix on this one.

missyschoenbaum commented 5 years ago

Perfect

BryanHurst commented 5 years ago

Because it can cause problems, I'd like to remove the currently open scenario from the list of scenarios. When it is open, it appears in the top list, so we shouldn't look like we are missing anything.

missyschoenbaum commented 5 years ago

Current scenario does go away. Doesn't reappear when rename is done, however. This is minor to me. It does reappear if scenario is run.

BryanHurst commented 5 years ago

The list now refreshes after rename.