Refresh the project differently when validating the project property dialog.

[DEVELOPMENT ENVIRONMENT]
* NEW: Refresh the project differently when validating the project property dialog.
* NEW: Option dialog: Add "3.19" in the list of Gambas bytecode versions.
This commit is contained in:
Benoît Minisini 2023-09-30 12:31:06 +02:00
parent 39ca57f967
commit d9b26a9d04
3 changed files with 5 additions and 6 deletions

View file

@ -1684,9 +1684,7 @@ Public Sub Action_Activate((Key) As String) As Boolean
Case "refresh-project"
Project.RefreshAll
Case "project-property"
If Not FProjectProperty.Run() Then
Project.Refresh
Endif
FProjectProperty.Run() 'Then Project.Refresh
Case "translate"
Translate
Case "compile"
@ -1727,7 +1725,7 @@ Public Sub Action_Activate((Key) As String) As Boolean
Case "info"
If tvwProject.Key = Project.Dir Then
If Not FProjectProperty.Run() Then Project.Refresh
FProjectProperty.Run() 'Then Project.Refresh
Else
FFileProperty.Run(tvwProject.Key)
Endif

View file

@ -257,6 +257,7 @@ Private Function DoApply() As Boolean
If bRefreshEditor Then Project.RefreshEditor
Project.OnRefreshComponents
Project.RefreshAll()
'Project.SetMessage(("OK"))
Return
@ -280,7 +281,7 @@ End
Private Sub SaveComponents()
Project.Components = choComponent.CheckedComponents
Project.RefreshComponents
'Project.RefreshComponents ' done later
End

View file

@ -563,7 +563,7 @@
{ cmbForceBytecodeVersion ComboBox
MoveScaled(61,0,14,4)
#Translate = False
List = ["", "3.8", "3.15", "3.18"]
List = ["", "3.8", "3.15", "3.18", "3.19"]
}
}
{ Label19 Label