コード例 #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;
}
コード例 #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;
}
コード例 #3
0
BOOL LLFloaterBuyCurrencyUI::canClose()
{
	return mManager.canCancel();
}