Summary: | Project's second Javascript file not being saved. | ||
---|---|---|---|
Product: | [Applications] Rocs | Reporter: | mmellott |
Component: | general | Assignee: | Andreas Cord-Landwehr <cordlandwehr> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | cordlandwehr, mmellott |
Priority: | NOR | ||
Version: | 1.8.60 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/rocs/38a303bef84fb49c776fbabbc75f9e0fd1229952 | Version Fixed In: | |
Sentry Crash Report: |
Description
mmellott
2013-06-11 15:08:48 UTC
Git commit 38a303bef84fb49c776fbabbc75f9e0fd1229952 by Andreas Cord-Landwehr, on behalf of Matthew Mellott. Committed on 18/06/2013 at 11:12. Pushed by cordlandwehr into branch 'master'. Save code files of projects correctly. Script files that were added to project after initial project creation were not being saved. Upon reopening the project, these script files would be missing and potentially irrecoverable. Script files were also not being closed in the actual editor. -Rocs now prompts user to name the untitled script that is created for all new projects if the user decides to save the new project. -Script files that are added to the project after initial project creation are saved to it. -When the user closes a project, script files open in the editor are now closed. -Scripts can now only be saved if the project has been saved. -Scripts are given unique names to prevent files from being overwritten. REVIEW: 110999 M +11 -13 App/Ui/CodeEditor.cpp M +44 -14 App/Ui/MainWindow.cpp M +10 -1 App/Ui/MainWindow.h http://commits.kde.org/rocs/38a303bef84fb49c776fbabbc75f9e0fd1229952 |