summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/imoptdlg.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2003-09-04 07:02:54 +0000
committerOliver Bolte <obo@openoffice.org>2003-09-04 07:02:54 +0000
commit04572b8754a0395720ffdd476cc7acde4e36ddc1 (patch)
tree4c016201958e8a19818d6dea0e07d1fa01be8b8b /sc/source/ui/dbgui/imoptdlg.cxx
parented108a69cd6531139008440c36d4ebe9cb4ab93f (diff)
INTEGRATION: CWS dr7ui (1.8.206); FILE MERGED
2003/08/07 14:28:13 dr 1.8.206.2: #i16060# double click in listbox fires OK event 2003/08/07 14:17:09 dr 1.8.206.1: #16060# double click in listbox fires OK event
Diffstat (limited to 'sc/source/ui/dbgui/imoptdlg.cxx')
-rw-r--r--sc/source/ui/dbgui/imoptdlg.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/imoptdlg.cxx b/sc/source/ui/dbgui/imoptdlg.cxx
index 6f44493036b9..3f44071ef934 100644
--- a/sc/source/ui/dbgui/imoptdlg.cxx
+++ b/sc/source/ui/dbgui/imoptdlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: imoptdlg.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: er $ $Date: 2002-07-29 15:14:55 $
+ * last change: $Author: obo $ $Date: 2003-09-04 08:02:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -262,6 +262,7 @@ ScImportOptionsDlg::ScImportOptionsDlg(
aEdTextSep.Hide();
aCbFixed.Hide();
aLbFont.GrabFocus();
+ aLbFont.SetDoubleClickHdl( LINK( this, ScImportOptionsDlg, DoubleClickHdl ) );
}
aLbFont.SelectTextEncoding( pOptions ? pOptions->eCharSet :
@@ -339,6 +340,14 @@ IMPL_LINK( ScImportOptionsDlg, FixedWidthHdl, CheckBox*, pCheckBox )
return 0;
}
+ IMPL_LINK( ScImportOptionsDlg, DoubleClickHdl, ListBox*, pLb )
+{
+ if ( pLb == &aLbFont )
+ {
+ aBtnOk.Click();
+ }
+ return 0;
+}
//------------------------------------------------------------------------
// Der Options-String darf kein Semikolon mehr enthalten (wegen Pickliste)