Ejemplo n.º 1
0
// virtual
BOOL LLFloaterBuyLandUI::canClose()
{
	bool can_close = (mTransaction ? FALSE : TRUE) && mCurrency.canCancel();
	if (!can_close)
	{
		// explain to user why they can't do this, see DEV-9605
		LLNotificationsUtil::add("CannotCloseFloaterBuyLand");
	}
	return can_close;
}
Ejemplo n.º 2
0
// virtual
BOOL LLFloaterBuyLandUI::canClose()
{
	bool can_close = (mTransaction ? FALSE : TRUE) && mCurrency.canCancel();
	if (!can_close)
	{
		// explain to user why they can't do this, see DEV-9605
		gViewerWindow->alertXml("CannotCloseFloaterBuyLand");
	}
	return can_close;
}
Ejemplo n.º 3
0
BOOL LLFloaterBuyCurrencyUI::canClose()
{
	return mManager.canCancel();
}