From 93c891b0e6c3bfd1bd1d0101d692862b8d42448b Mon Sep 17 00:00:00 2001 From: haydentech Date: Wed, 11 Jun 2003 14:19:43 +0000 Subject: [PATCH] Removed infinite loop in BSeparatorItem git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3473 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/MenuItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/MenuItem.cpp b/src/kits/interface/MenuItem.cpp index b2ed09ae8e..2768f43b7e 100644 --- a/src/kits/interface/MenuItem.cpp +++ b/src/kits/interface/MenuItem.cpp @@ -446,7 +446,7 @@ BArchivable *BSeparatorItem::Instantiate(BMessage *data) //------------------------------------------------------------------------------ void BSeparatorItem::SetEnabled(bool state) { - BSeparatorItem::SetEnabled(state); + BMenuItem::SetEnabled(state); } //------------------------------------------------------------------------------ void BSeparatorItem::GetContentSize(float *width, float *height)