From 90b35878719aea081232adbb58fc906a3b3e0f79 Mon Sep 17 00:00:00 2001
From: David Athay <ko2fan@gmail.com>
Date: Thu, 17 Jul 2008 16:57:11 +0000
Subject: Fixed crash with party invite dialog

---
 ChangeLog               | 5 +++++
 src/gui/partywindow.cpp | 2 --
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7cdd321f..ad04a335 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-17  David Athay  <ko2fan@gmail.com>
+
+	*  src/gui/partywindow.cpp: Fixed crash bug with accepting
+	party invites.
+
 2008-07-14  Roderic Morris  <roderic@ccs.neu.edu>
 
 	* src/CMakeLists.txt: Added the partyhandler to the cmake build list.
diff --git a/src/gui/partywindow.cpp b/src/gui/partywindow.cpp
index 5ec1e6bf..484d81b0 100644
--- a/src/gui/partywindow.cpp
+++ b/src/gui/partywindow.cpp
@@ -120,11 +120,9 @@ void PartyWindow::action(const gcn::ActionEvent &event)
     {
         Net::ChatServer::Party::acceptInvite(mPartyInviter);
         mPartyInviter = "";
-        delete acceptDialog;
     }
     else if (eventId == "no")
     {
         mPartyInviter = "";
-        delete acceptDialog;
     }
 }
-- 
cgit v1.2.3-70-g09d2