summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 6f4e07f18..6c11a0e22 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -83,8 +83,9 @@ sub detect {
sub pre_func {
my ($text) = @_;
+ $in->isa('interactive_gtk') or return;
$::Wizard_no_previous=1;
- if ($in->isa('interactive_gtk') && $::isStandalone) {
+ if ($::isStandalone) {
$::Wizard_splash=1;
require my_gtk;
my_gtk->import(qw(:wrappers));