[atlantik-cvs] CVS: kdegames/atlantik/libatlantikui portfolioview.cpp,1.53,1.54

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv8463

Modified Files:
	portfolioview.cpp 
Log Message:
fix #54437

Index: portfolioview.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/portfolioview.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- portfolioview.cpp	19 Jan 2003 20:42:32 -0000	1.53
+++ portfolioview.cpp	12 Feb 2003 03:12:10 -0000	1.54
@@ -235,7 +235,7 @@
 
 void PortfolioView::mousePressEvent(QMouseEvent *e)
 {
-	if (e->button()==RightButton && !m_player->isSelf())
+	if (e->button()==RightButton && !m_player->isSelf() && portfolioEstateMap.size())
 	{
 		KPopupMenu *rmbMenu = new KPopupMenu(this);
 		rmbMenu->insertTitle(m_player->name());
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.