-rw-r--r-- | microkde/kfiledialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/microkde/kfiledialog.cpp b/microkde/kfiledialog.cpp index 3f47425..6be1580 100644 --- a/microkde/kfiledialog.cpp +++ b/microkde/kfiledialog.cpp | |||
@@ -26,6 +26,9 @@ QString KFileDialog::getSaveFileName( const QString & fn, | |||
26 | // o.setNewVisible( true ); | 26 | // o.setNewVisible( true ); |
27 | // o.setNameVisible( true ); | 27 | // o.setNameVisible( true ); |
28 | dia.showMaximized(); | 28 | dia.showMaximized(); |
29 | if ( cap.isEmpty() ) | ||
30 | dia.setCaption( file ); | ||
31 | else | ||
29 | dia.setCaption( cap ); | 32 | dia.setCaption( cap ); |
30 | int res = dia.exec(); | 33 | int res = dia.exec(); |
31 | if ( res ) | 34 | if ( res ) |