summaryrefslogtreecommitdiff
path: root/vcl/unx/kde4/KDE4FilePicker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/kde4/KDE4FilePicker.cxx')
-rw-r--r--vcl/unx/kde4/KDE4FilePicker.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx
index 229aa020bb98..2a359986bbe4 100644
--- a/vcl/unx/kde4/KDE4FilePicker.cxx
+++ b/vcl/unx/kde4/KDE4FilePicker.cxx
@@ -725,6 +725,10 @@ void SAL_CALL KDE4FilePicker::initialize( const uno::Sequence<uno::Any> &args )
addCustomControl( CHECKBOX_PREVIEW );
break;
+ case FILEOPEN_PREVIEW:
+ addCustomControl( CHECKBOX_PREVIEW );
+ break;
+
default:
throw lang::IllegalArgumentException(
OUString( "Unknown template" ),