Commits

Anonymous committed 2cffa9a

Hopefully close the commit dialouge now with out crashing

  • Participants
  • Parent commits 05dd2d9

Comments (0)

Files changed (1)

File lib/Padre/Plugin/HG/ProjectCommit.pm

 	my( $self, $event ) = @_; 
 
 	# Change the contents of $self->{txt}
-	print "print the button was clicked\n";
+	
 	my $file_list;
 	#$self->{txt}->SetLabel("The button was clicked!"); 
 	my $item = -1;
     }
     
     $self->{hg}->vcs_commit($file_list, $self->{hg}->{project_path});
-    $self->destroy();
+    $self->Close();
 }
 
 sub _populate_list