summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-08-21 10:42:37 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-08-29 12:33:12 +0200
commitd6ebf7f5ee4aa0684a9f219dc8a5831013b7feb3 (patch)
tree330e6591d0d0a054a3e42a53d64d1e204874a613 /fpicker
parent682c74f0dbb9bea3178e340c3f8cde69272829ad (diff)
clear file name field while changing dir
Change-Id: I46e9d9e7b56c09c65808fe231e5ba4eeddf90ad2
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index ab6159ae010b..1b2ec72ddba7 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -541,6 +541,9 @@ FileViewResult RemoteFilesDialog::OpenURL( OUString const & sURL )
// -1 timeout - sync
m_pCurrentAsyncAction->execute( sURL, sFilter, -1, -1, GetBlackList() );
+
+ if( m_eMode != REMOTEDLG_MODE_SAVE )
+ m_pName_ed->SetText( "" );
}
else
{