r16493 by craig - #9877: Select first entry in recent documents list on welcome dialog

scribus-commit scribus-commit at lists.scribus.net
Thu Mar 24 21:57:38 CET 2011


Author: craig
Date: Thu Mar 24 20:57:38 2011
New Revision: 16493

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16493
Log:
#9877: Select first entry in recent documents list on welcome dialog

Modified:
    branches/Version135/Scribus/scribus/newfile.cpp

Modified: branches/Version135/Scribus/scribus/newfile.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16493&path=/branches/Version135/Scribus/scribus/newfile.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/newfile.cpp (original)
+++ branches/Version135/Scribus/scribus/newfile.cpp Thu Mar 24 20:57:38 2011
@@ -401,6 +401,8 @@
 	uint max = qMin(prefsManager->appPrefs.RecentDCount, recentDocList.count());
 	for (uint m = 0; m < max; ++m)
 		recentDocListBox->addItem( QDir::convertSeparators(recentDocList[m]) );
+	if (max>0)
+		recentDocListBox->setCurrentRow(0);
 }
 
 void NewDoc::setWidth(double)




More information about the scribus-commit mailing list