void KrecipesView::showCurrentRecipes()
{
	QWidget * vis_panel = rightPanel->visiblePanel();
	if ( vis_panel == selectPanel ) {
		selectPanel->getActionsHandler()->open();
	}
	else if (vis_panel == inputPanel ) {
		inputPanel->showRecipe();
	}
	else if ( vis_panel == ingredientMatcherPanel ) {
		ingredientMatcherPanel->getActionsHandler()->open();
	}
}
void KrecipesView::showCurrentRecipes()
{
	QWidget * vis_panel = rightPanel->visiblePanel();
	if ( vis_panel == selectPanel ) {
		selectPanel->getActionsHandler()->open();
	}
	else if (vis_panel == inputPanel ) {
		inputPanel->showRecipe();
	}
	else if ( vis_panel == ingredientMatcherPanel ) {
		ingredientMatcherPanel->getActionsHandler()->open();
	}
}