Automatically compile the project when it is opened if it has never been compiled.
[DEVELOPMENT ENVIRONMENT] * NEW: Automatically compile the project when it is opened if it has never been compiled.
This commit is contained in:
parent
dfbbebe050
commit
8028545612
1 changed files with 6 additions and 3 deletions
|
@ -878,13 +878,16 @@ _INIT_AGAIN:
|
||||||
|
|
||||||
Endif
|
Endif
|
||||||
|
|
||||||
If Not IsFake() And If Settings["/RestoreFiles", 1] Then LoadLastOpenedFiles
|
GoSub _STOP_CONVERT
|
||||||
|
|
||||||
|
If Not IsFake() Then
|
||||||
|
If Not IsDir(Project.Dir &/ ".gambas") Or If Dir(Project.Dir &/ ".gambas").Count = 0 Then Compile(True)
|
||||||
|
If Settings["/RestoreFiles", 1] Then LoadLastOpenedFiles
|
||||||
|
Endif
|
||||||
|
|
||||||
RecentFiles = New String[]
|
RecentFiles = New String[]
|
||||||
CPosition.Clear
|
CPosition.Clear
|
||||||
|
|
||||||
GoSub _STOP_CONVERT
|
|
||||||
|
|
||||||
If ReadOnly Then
|
If ReadOnly Then
|
||||||
FMain.ShowWarning(("This project is read-only."))
|
FMain.ShowWarning(("This project is read-only."))
|
||||||
Else
|
Else
|
||||||
|
|
Loading…
Reference in a new issue