diff options
-rw-r--r-- | perl-install/ugtk3.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm index 07c0ee725..6480330e7 100644 --- a/perl-install/ugtk3.pm +++ b/perl-install/ugtk3.pm @@ -1361,6 +1361,8 @@ use MDK::Common; # try to get combox <==> option menu mapping sub set_popdown_strings { my ($w, @strs) = @_; + my $model = $w->get_model; + return if !$model; $w->get_model->clear; # keep string list around for ->set_text compatibilty helper $w->{strings} = \@strs; |