Commit 29197d00 authored by Stefan Tauner's avatar Stefan Tauner
Browse files

FIJITestsViewer: fix edit dialog of tests

parent f750f857
......@@ -1061,10 +1061,15 @@ sub edit_test {
my $db = $self->{'mw'}->FIJIModalDialog(
-title => "Edit Test $i",
-buttons => [qw/OK Cancel/]
-buttons => [qw/OK Cancel/],
-scrollable => 0,
-resizeable_y => 1,
);
$db->geometry("576x300");
my $tf = $db->FIJITestFrame(-test => $test, -settings => $self->{'settings'}, -scrolled=>1)->pack(-expand => 1, -fill => "both");
my $tf = $db->FIJITestFrame(
-test => $test,
-settings => $self->{'settings'},
-scrolled => 1,
)->pack(-expand => 1, -fill => "both");
my $response = $db->Show();
@{$self->{'tests'}->{'tests'}}[$i] = $test if (defined $response && $response eq "OK");
$self->update();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment