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
90c9f480
Commit
90c9f480
authored
Jun 21, 2017
by
Christian Fibich
Committed by
Stefan Tauner
May 04, 2018
Browse files
Actually allow cancelling a Test edit in Sequence Mode
parent
39a045e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/Tk/FIJITestsViewer.pm
View file @
90c9f480
...
...
@@ -1052,9 +1052,12 @@ sub remove_test ($) {
sub
edit_test
{
my
(
$self
,
$i
)
=
@_
;
my
$test
=
@
{
$self
->
{'
tests
'}
->
{'
tests
'}}[
$i
];
my
$original_test
=
@
{
$self
->
{'
tests
'}
->
{'
tests
'}}[
$i
];
my
$test
=
clone
(
$original_test
);
my
$db
=
$self
->
{'
mw
'}
->
FIJIModalDialog
(
-
title
=>
"
Edit Test
$i
",
-
buttons
=>
[
qw/OK Cancel/
]
);
$db
->
geometry
("
576x300
");
my
$tf
=
$db
->
FIJITestFrame
(
-
test
=>
$test
,
-
settings
=>
$self
->
{'
settings
'},
-
scrolled
=>
1
)
->
pack
(
-
expand
=>
1
,
-
fill
=>
"
both
");
...
...
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