summaryrefslogtreecommitdiff
path: root/starmath/source/dialog.cxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-10-05 08:05:48 +0000
committerThomas Lange <tl@openoffice.org>2001-10-05 08:05:48 +0000
commit3628db4881a1fed5b18832157cfd496ee3eab436 (patch)
treeae69de5ca8d78c271e32d27ca79f2eefa9373aac /starmath/source/dialog.cxx
parent7af2667a4144736efaa05e59eb1eb42ed2907b5d (diff)
#92654# symbol-dialog remembers selected position after closing of symbol-define-dialog
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r--starmath/source/dialog.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index dff6d1b590b4..5a4e74554179 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dialog.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: tl $ $Date: 2001-10-04 12:25:13 $
+ * last change: $Author: tl $ $Date: 2001-10-05 09:05:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1421,6 +1421,8 @@ IMPL_LINK( SmSymbolDialog, EditClickHdl, Button *, pButton )
// altes SymbolSet merken
XubString aOldSymbolSet (aSymbolSets.GetSelectEntry());
+ USHORT nSymPos = GetSelectedSymbol();
+
// Dialog an evtl genderte Daten des SymbolSet Manager anpassen
if (pDialog->Execute() == RET_OK && rSymSetMgr.IsModified())
FillSymbolSets();
@@ -1430,6 +1432,8 @@ IMPL_LINK( SmSymbolDialog, EditClickHdl, Button *, pButton )
if (!SelectSymbolSet(aOldSymbolSet) && aSymbolSets.GetEntryCount() > 0)
SelectSymbolSet(aSymbolSets.GetEntry(0));
+ SelectSymbol( nSymPos );
+
delete pDialog;
return 0;
}