Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vecs
FIJI Public
Commits
9dd23030
Commit
9dd23030
authored
Mar 02, 2015
by
Stefan Tauner
Browse files
fiji_scripts: fix deletion of FIU elements in fiji_setup.pl
parent
f47e41d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tk/FIJISettingsViewer.pm
View file @
9dd23030
...
...
@@ -105,10 +105,10 @@ sub update {
'
-columnspan
'
=>
2
,
);
my
$fiu_cnt
=
_fiu_cnt
();
my
$fiu_cnt
=
$self
->
_fiu_cnt
();
for
(
my
$i
=
0
;
$i
<
$fiu_cnt
;
$i
++
)
{
my
$fiu
=
@
{
$
{
$self
->
{'
settings
'}}
->
{'
FIUs
'}}[
$i
];
_add_fiu
(
$fiu
,
$i
);
$self
->
_add_fiu
(
$fiu
,
$i
);
}
}
...
...
@@ -239,7 +239,7 @@ sub _fiu_cnt {
sub
_add_fiu
($$)
{
my
(
$self
,
$
i
,
$fiu
)
=
@_
;
my
(
$self
,
$
fiu
,
$i
)
=
@_
;
if
(
!
defined
(
$i
))
{
$i
=
$self
->
_fiu_cnt
();
# default is to append
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment