[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/utils/krecipes/src/dialogs
From:       Jason Kivlighn <fungmeista () gmail ! com>
Date:       2005-05-31 23:50:15
Message-ID: 1117583415.217445.12163.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 420401 by jkivlighn:

-Display the correct header text when inputting a recipe (It was showing 
the ingredient text, even though the correct header text was actually 
being saved)
-Allow hitting enter to input a header


 M  +2 -1      recipeinputdialog.cpp  


--- trunk/extragear/utils/krecipes/src/dialogs/recipeinputdialog.cpp #420400:420401
@@ -628,6 +628,7 @@
 
 	connect( unitBox->lineEdit(), SIGNAL( returnPressed() ), this, SLOT( addIngredient() ) );
 	connect( ingredientBox->lineEdit(), SIGNAL( returnPressed() ), this, SLOT( addIngredient() ) \
); +	connect( headerBox->lineEdit(), SIGNAL( returnPressed() ), this, SLOT( addIngredient() ) \
);  connect( prepMethodBox->lineEdit(), SIGNAL( returnPressed() ), this, SLOT( addIngredient() \
) );  connect( amountEdit, SIGNAL( returnPressed( const QString & ) ), this, SLOT( \
addIngredient() ) );  
@@ -1135,7 +1136,7 @@
 		if ( last_item && last_item->parent() )
 			last_item = last_item->parent();
 
-		IngGrpListViewItem *ing_header = new IngGrpListViewItem( ingredientList, last_item, \
ingredientBox->currentText(), group_id ); +		IngGrpListViewItem *ing_header = new \
IngGrpListViewItem( ingredientList, last_item, headerBox->currentText(), group_id );  \
ing_header->setOpen( true );  
 		typeButtonGrp->setButton( 0 ); //put back to ingredient input


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic