Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
artoa4argo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
argoTools
artoa4argo
Commits
c9b2eb6e
Commit
c9b2eb6e
authored
4 years ago
by
leprob001
Browse files
Options
Downloads
Patches
Plain Diff
The reload artoa.ini function now asks for confirmation before reloading.
parent
c45d71b2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
VERSION
+1
-1
1 addition, 1 deletion
VERSION
lib/+artoa/+controller/+file/reloadArtoaIni.m
+19
-0
19 additions, 0 deletions
lib/+artoa/+controller/+file/reloadArtoaIni.m
lib/+artoa/+controller/+main/open.m
+1
-1
1 addition, 1 deletion
lib/+artoa/+controller/+main/open.m
with
21 additions
and
2 deletions
VERSION
+
1
−
1
View file @
c9b2eb6e
252
\ No newline at end of file
253
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lib/+artoa/+controller/+file/reloadArtoaIni.m
0 → 100644
+
19
−
0
View file @
c9b2eb6e
function
[]
=
reloadArtoaIni
(
~
,
~
)
%RELOADARTOAINI Asks for confirmation, if answered yes, calls artoa.controller.file.loadArtoaIni.
%% Ask for confirmation
answer
=
questdlg
(
'Reload artoa.ini file?'
,
...
'Reload artoa.ini file?'
,
...
'Yes'
,
...
'No'
,
...
struct
(
'Default'
,
'Yes'
,
'Interpreter'
,
'none'
)
...
);
if
strcmp
(
answer
,
'No'
)
return
;
end
artoa
.
controller
.
file
.
loadArtoaIni
();
end
This diff is collapsed.
Click to expand it.
lib/+artoa/+controller/+main/open.m
+
1
−
1
View file @
c9b2eb6e
...
...
@@ -23,7 +23,7 @@ callbacks.saveRfc = @artoa.controller.file.saveRfc;
callbacks
.
saveInterim
=
@
artoa
.
controller
.
file
.
saveInterim
;
callbacks
.
saveOptimumTables
=
@
artoa
.
controller
.
file
.
saveOptimumTables
;
callbacks
.
saveTrajectoryToProfile
=
@
artoa
.
controller
.
file
.
trajectory2profile
.
open
;
callbacks
.
loadArtoaIni
=
@
artoa
.
controller
.
file
.
loadArtoaIni
;
callbacks
.
loadArtoaIni
=
@
artoa
.
controller
.
file
.
re
loadArtoaIni
;
callbacks
.
reloadSoundsourceFile
=
@
artoa
.
controller
.
file
.
reloadSoundSourceFile
;
callbacks
.
reloadRfbFile
=
@
artoa
.
controller
.
file
.
reloadRfb
;
callbacks
.
openEditTemperature
=
@
artoa
.
controller
.
edit
.
temperature
.
open
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment