summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-08-03 14:50:44 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-08-14 08:45:26 +0200
commit2c50c24c61d609ea67ff4b52fde640ca41cfac9e (patch)
treef5667455b23009ffd5846b9664c4969b7049003b /fpicker
parent7e33e62e87c4ebb656940958b64db44cb11e9499 (diff)
don't invalidate the dialog after every typed character
Change-Id: Ib422edf3b615fec6513887283595f647f5bc197e
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index 40b9c755bb90..b32f196fb2d6 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -814,7 +814,8 @@ IMPL_LINK_NOARG( RemoteFilesDialog, FileNameGetFocusHdl )
IMPL_LINK_NOARG( RemoteFilesDialog, FileNameModifyHdl )
{
m_pFileView->SetNoSelection();
- EnableControls();
+ if( !m_pOk_btn->IsEnabled() )
+ EnableControls();
return 1;
}