extragear/graphics/digikam

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

extragear/graphics/digikam

Gilles Caulier
SVN commit 496323 by cgilles:

digikam from trunk : IE/ Showfoto saveAs() method : we will use current image filename to set default filename in saveAs dialog.

CCMAIL: [hidden email]

 M  +1 -0      showfoto/showfoto.cpp  
 M  +1 -0      utilities/imageeditor/editor/imagewindow.cpp  


--- trunk/extragear/graphics/digikam/showfoto/showfoto.cpp #496322:496323
@@ -728,6 +728,7 @@
                            false);
     saveDialog.setOperationMode( KFileDialog::Saving );
     saveDialog.setMode( KFile::File );
+    saveDialog.setSelection(url.fileName());
     saveDialog.setCaption( i18n("New Image File Name") );
     saveDialog.setFilter(mimetypes);
 
--- trunk/extragear/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp #496322:496323
@@ -1061,6 +1061,7 @@
 
     imageFileSaveDialog.setOperationMode( KFileDialog::Saving );
     imageFileSaveDialog.setMode( KFile::File );
+    imageFileSaveDialog.setSelection(m_urlCurrent.fileName());
     imageFileSaveDialog.setCaption( i18n("New Image File Name") );
     imageFileSaveDialog.setFilter(mimetypes);
 
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel