diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ManaTools/Shared/GUI/ReplacePoint.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ManaTools/Shared/GUI/ReplacePoint.pm b/lib/ManaTools/Shared/GUI/ReplacePoint.pm index d93836d9..8a2fc7a9 100644 --- a/lib/ManaTools/Shared/GUI/ReplacePoint.pm +++ b/lib/ManaTools/Shared/GUI/ReplacePoint.pm @@ -149,14 +149,15 @@ has 'container' => ( #============================================================= sub buildReplacePoint { my $self = shift; - my $dialog = $self->parentDialog(); - my $factory = $dialog->factory(); - my $parentWidget = $self->parentWidget(); my $eventHandler = $self->parentEventHandler(); # safeguard if no eventHandler die("eventHandler is not set when creating replacepoint") if (!defined $eventHandler); + my $dialog = $self->parentDialog(); + my $factory = $dialog->factory(); + my $parentWidget = $self->parentWidget(); + # create the replacepoint my $replacepoint = $factory->createReplacePoint($parentWidget); |