We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a2ca36 commit 5fc8accCopy full SHA for 5fc8acc
1 file changed
Prima/Dialog/FontDialog.pm
@@ -454,9 +454,10 @@ Prima::Dialog::FontDialog - standard font dialog
454
455
use Prima qw(Application Dialog::FontDialog);
456
my $f = Prima::Dialog::FontDialog-> new;
457
- return unless $f-> execute == mb::OK;
458
- $f = $f-> logFont;
459
- print "$_:$f->{$_}\n" for sort keys %$f;
+ if ( $f-> execute == mb::OK ) {
+ $f = $f-> logFont;
+ print "$_:$f->{$_}\n" for sort keys %$f;
460
+ }
461
462
=for podview <img src="fontdlg.gif">
463
0 commit comments