Commit af0e297f authored by Stefan Tauner's avatar Stefan Tauner
Browse files

fiji_scripts: comment out (non-functional) default buttons

parent cb1f67ba
......@@ -102,7 +102,7 @@ sub update {
)->grid(
'-row' => $hdr_row,
'-column' => $i++,
'-columnspan' => 2,
# '-columnspan' => 2,
);
my $fiu_cnt = $self->_fiu_cnt();
......@@ -144,13 +144,13 @@ sub _populate_widget {
'-column' => $i++,
);
}
$fr_design->Label(
-text => "Control",
)->grid(
'-row' => 0,
'-column' => $i++,
'-columnspan' => 2,
);
# $fr_design->Label(
# -text => "Control",
# )->grid(
# '-row' => 0,
# '-column' => $i++,
# '-columnspan' => 2,
# );
my $designmap = DESIGNMAP;
foreach my $k (qw(FREQUENCY BAUDRATE TIMER_WIDTH)) {
......@@ -165,15 +165,15 @@ sub _populate_widget {
'-textvariable' => \${$self->{'settings'}}->{'design'}->{$k},
'-width' => -1,
),
$fr_design->Button(
-text => 'Defaults',
# $fr_design->Button(
# -text => 'Defaults',
# -command => [\&_save, $self],
# sub {
# my $state = defined($filename) ? 'normal' : 'disabled';
# $btn_open->configure(-state => $state);
# $btn_save->configure(-state => $state);
# },
),
# ),
'-sticky' => 'ew'
);
}
......@@ -278,10 +278,10 @@ sub _add_fiu ($$) {
# '-side' => 'left',
# '-expand' => 1,
);
my $def_button = $fr_fius->Button(
'-text' => 'Defaults',
# my $def_button = $fr_fius->Button(
# '-text' => 'Defaults',
# -command => [\&_save, $self],
);
# );
my $del_button = $fr_fius->Button(
-text => 'Delete',
-command => sub {
......@@ -301,7 +301,7 @@ sub _add_fiu ($$) {
$lfsr_button,
$mask_entry,
$so_entry,
$def_button,
# $def_button,
$del_button,
);
}
......@@ -317,7 +317,7 @@ sub _add_fiu ($$) {
$lfsr_button,
$mask_entry,
$so_entry,
$def_button,
# $def_button,
$del_button,
'-sticky' => 'ew'
);
......@@ -328,7 +328,7 @@ sub _add_fiu ($$) {
$lfsr_button,
$mask_entry,
$so_entry,
$def_button,
# $def_button,
$del_button,
);
}
......@@ -341,7 +341,7 @@ sub _update_fields {
$lfsr_button,
$mask_entry,
$so_entry,
$def_button,
# $def_button,
$del_button,
) = @_;
my $logger = get_logger();
......
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