aboutsummaryrefslogtreecommitdiff
path: root/src/MTools/GUI/MGroup.pm
diff options
context:
space:
mode:
Diffstat (limited to 'src/MTools/GUI/MGroup.pm')
-rw-r--r--src/MTools/GUI/MGroup.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/MTools/GUI/MGroup.pm b/src/MTools/GUI/MGroup.pm
index ca48fe1..ef5468f 100644
--- a/src/MTools/GUI/MGroup.pm
+++ b/src/MTools/GUI/MGroup.pm
@@ -21,7 +21,6 @@ package MTools::GUI::MGroup;
use strict;
use MTools;
-use MTools::MObjet;
use vars qw / @ISA /;
BEGIN
@@ -31,7 +30,7 @@ BEGIN
sub new {
my ($class, $parent, %options) = @_;
- my $self = {};
+ my $self = new MTools::MObjet ();
bless $self, $class;
$parent = ref($parent) eq ''?$parent:$parent -> {instance};
$self -> {instance} = $zinc -> add ('group', $parent, -priority => 10, %options);