FutureAIGuru / BrainSimII

Neural Simulator for AGI research and development
http://brainsim.org
MIT License
87 stars 25 forks source link

Save As does not work unless the file already exists. #124

Closed ghost closed 3 years ago

ghost commented 3 years ago

Describe the bug Save as shows a message box if the target file does not exist.

Application: Brain Simulator

Module/Network: N/A

To Reproduce Steps to reproduce the behavior:

  1. Open any network.
  2. Select File => Save As.
  3. Enter a name of another existing file to overwrite it.
  4. Notice Save As works fine.
  5. Now perform Save As again, this time with a name that does not exist.
  6. Notice the message box below, indicating Save As won't work because the file was not found.

Expected behavior Save As should work unless the folder where you save the file cannot be written in, or it tries to overwrite a read-only file.

Screenshots If applicable, add screenshots to help explain your problem. IMG_20210424_095944

Desktop (please complete the following information):

Add any other context about the problem here.