r19812 by craig - #11935: Set the active directory properly when picture browser opens
scribus-commit
scribus-commit at lists.scribus.net
Wed Feb 11 18:22:10 UTC 2015
Author: craig
Date: Wed Feb 11 18:22:10 2015
New Revision: 19812
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19812
Log:
#11935: Set the active directory properly when picture browser opens
Modified:
trunk/Scribus/scribus/plugins/picbrowser/picturebrowser.cpp
Modified: trunk/Scribus/scribus/plugins/picbrowser/picturebrowser.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19812&path=/trunk/Scribus/scribus/plugins/picbrowser/picturebrowser.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/picbrowser/picturebrowser.cpp (original)
+++ trunk/Scribus/scribus/plugins/picbrowser/picturebrowser.cpp Wed Feb 11 18:22:10 2015
@@ -270,6 +270,10 @@
//imageViewArea->setBatchSize(4);
//imageViewArea->setVerticalScrollMode(QAbstractItemView::ScrollPerItem);
//imageViewArea->setHorizontalScrollMode(QAbstractItemView::ScrollPerItem);
+
+
+//Actually select the current folder to generate the preview from it's contents
+ dirChosen(folderModel.index( QDir::currentPath() ));
}
More information about the scribus-commit
mailing list