06294_Dialog_Scan_CLI.t (gscan2pdf-2.13.1.tar.xz) | : | 06294_Dialog_Scan_CLI.t (gscan2pdf-2.13.2.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 60 | skipping to change at line 60 | |||
'reloaded-scan-options' => sub { | 'reloaded-scan-options' => sub { | |||
$dialog->signal_handler_disconnect($signal); | $dialog->signal_handler_disconnect($signal); | |||
isnt( $dialog->get('available-scan-options')->num_options, | isnt( $dialog->get('available-scan-options')->num_options, | |||
0, 'starting with an empty cache should force a real reload' ); | 0, 'starting with an empty cache should force a real reload' ); | |||
if ($flag) { Gtk3->main_quit } | if ($flag) { Gtk3->main_quit } | |||
$flag = TRUE; | $flag = TRUE; | |||
} | } | |||
); | ); | |||
$dialog->set( 'device-list', [ { 'name' => 'test' } ] ); | $dialog->set( 'device-list', [ { 'name' => 'test' } ] ); | |||
$dialog->set( 'device', 'test' ); | $dialog->set( 'device', 'test' ); | |||
if ( not $flag ) { | if ( not $flag ) { | |||
$flag = TRUE; | $flag = TRUE; | |||
Gtk3->main; | Gtk3->main; | |||
} | } | |||
######################### | ######################### | |||
__END__ | __END__ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |