Open dpizetta opened 10 years ago
I dont understand.
How can you close and then save?
Just use the close button and after save it. (Attention: it is not Quit). Actually when you close the program create a new file automaticaly, but it still with the last path, so when you click save, it replace the last file.
On Mon, Jun 16, 2014 at 4:52 PM, tiagocampo notifications@github.com wrote:
I dont understand.
How can you close and then save?
Reply to this email directly or view it on GitHub https://github.com/zericardo182/sci-corpus/issues/68#issuecomment-46226361 .
You are describing the current behavior, what should be the correct one in your mind?
On Mon, Jun 16, 2014 at 4:57 PM, Daniel Pizetta notifications@github.com wrote:
Just use the close button and after save it. (Attention: it is not Quit). Actually when you close the program create a new file automaticaly, but it still with the last path, so when you click save, it replace the last file.
On Mon, Jun 16, 2014 at 4:52 PM, tiagocampo notifications@github.com wrote:
I dont understand.
How can you close and then save?
Reply to this email directly or view it on GitHub < https://github.com/zericardo182/sci-corpus/issues/68#issuecomment-46226361
.
— Reply to this email directly or view it on GitHub https://github.com/zericardo182/sci-corpus/issues/68#issuecomment-46226959 .
Tiago de Campos
I think that when you close must be deleted the path (container.path) or similar, I dont know exactly. Because when you save it try to find something on self.container.path !='', so if the path is actually '' (empty) the program automatically calls save as.
On Mon, Jun 16, 2014 at 6:06 PM, tiagocampo notifications@github.com wrote:
You are describing the current behavior, what should be the correct one in your mind?
On Mon, Jun 16, 2014 at 4:57 PM, Daniel Pizetta notifications@github.com
wrote:
Just use the close button and after save it. (Attention: it is not Quit). Actually when you close the program create a new file automaticaly, but it still with the last path, so when you click save, it replace the last file.
On Mon, Jun 16, 2014 at 4:52 PM, tiagocampo notifications@github.com wrote:
I dont understand.
How can you close and then save?
Reply to this email directly or view it on GitHub <
https://github.com/zericardo182/sci-corpus/issues/68#issuecomment-46226361
.
Reply to this email directly or view it on GitHub < https://github.com/zericardo182/sci-corpus/issues/68#issuecomment-46226959>
.
Tiago de Campos
Reply to this email directly or view it on GitHub https://github.com/zericardo182/sci-corpus/issues/68#issuecomment-46237867 .
When you are editing a file, then you close it, and right after you save, it rewrite the last path with a blanck db file. Maybe we need to clear the path to not do this. It was expected that it call the save as because it doesn't have a path, but as it is not calling save as, I imagine that it still has the last path, so it rewrite.