Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
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
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
64e2b147
Commit
64e2b147
authored
11 years ago
by
Maxime Graulich
Browse files
Options
Downloads
Patches
Plain Diff
iOS: remove errors before compute
parent
5e11ac93
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/mobile/iOS/Onelab/ModelViewController.mm
+1
-0
1 addition, 0 deletions
contrib/mobile/iOS/Onelab/ModelViewController.mm
contrib/mobile/iOS/Onelab/ParametersViewController.mm
+0
-3
0 additions, 3 deletions
contrib/mobile/iOS/Onelab/ParametersViewController.mm
with
1 addition
and
3 deletions
contrib/mobile/iOS/Onelab/ModelViewController.mm
+
1
−
0
View file @
64e2b147
...
@@ -149,6 +149,7 @@
...
@@ -149,6 +149,7 @@
-
(
void
)
compute
-
(
void
)
compute
{
{
[
_errors
removeAllObjects
];
[
_runStopButton
setAction
:
@selector
(
stop
)];
[
_runStopButton
setAction
:
@selector
(
stop
)];
[
_runStopButton
setTitle
:
@"Stop"
];
[
_runStopButton
setTitle
:
@"Stop"
];
[
_progressLabel
setText
:
@""
];
[
_progressLabel
setText
:
@""
];
...
...
This diff is collapsed.
Click to expand it.
contrib/mobile/iOS/Onelab/ParametersViewController.mm
+
0
−
3
View file @
64e2b147
...
@@ -146,10 +146,7 @@
...
@@ -146,10 +146,7 @@
for
(
int
iparameter
=
0
;
iparameter
<
[
section
count
];
iparameter
++
)
{
for
(
int
iparameter
=
0
;
iparameter
<
[
section
count
];
iparameter
++
)
{
if
([[[
section
objectAtIndex
:
iparameter
]
getName
]
isEqualToString
:
name
])
{
// The parameter is in the section
if
([[[
section
objectAtIndex
:
iparameter
]
getName
]
isEqualToString
:
name
])
{
// The parameter is in the section
Parameter
*
p
=
[
section
objectAtIndex
:
iparameter
];
Parameter
*
p
=
[
section
objectAtIndex
:
iparameter
];
//if(number[i].getVisible())
[
p
refresh
];
// just refresh the parameter
[
p
refresh
];
// just refresh the parameter
//else
// [self removeParemeterNumber:number[i] atIndex:[NSIndexPath indexPathForRow:iparameter inSection:iSection]];
found
=
true
;
found
=
true
;
break
;
break
;
}
}
...
...
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