summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/propcontroller.cxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-02-19 15:56:58 +0000
committerFrank Schönheit <fs@openoffice.org>2001-02-19 15:56:58 +0000
commit8a92f0fc13b36b957789b5da220454ff5eb2d3dc (patch)
treeaade366188a1710a1f5ea6d93afccb16e47621b4 /extensions/source/propctrlr/propcontroller.cxx
parent515b420efb8bca656a1b58ef8dbc725fdf50ca0b (diff)
UpdateUI: do default page selection
Diffstat (limited to 'extensions/source/propctrlr/propcontroller.cxx')
-rw-r--r--extensions/source/propctrlr/propcontroller.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx
index 54fd093a2f3d..4eb555c9b113 100644
--- a/extensions/source/propctrlr/propcontroller.cxx
+++ b/extensions/source/propctrlr/propcontroller.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: propcontroller.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: fs $ $Date: 2001-02-19 14:08:05 $
+ * last change: $Author: fs $ $Date: 2001-02-19 16:56:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -728,6 +728,13 @@ namespace pcr
// show the property box, again
if (haveView())
{
+ if (m_nGenericPageId)
+ getPropertyBox()->SetPage( m_nGenericPageId );
+ else if (m_nDataPageId)
+ getPropertyBox()->SetPage( m_nDataPageId );
+ else if (m_nEventPageId)
+ getPropertyBox()->SetPage( m_nEventPageId );
+
getPropertyBox()->Show();
// activate the old page
syncPropertyToView();
@@ -960,6 +967,9 @@ namespace pcr
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.6 2001/02/19 14:08:05 fs
+ * #83649# correctly eval the return value of getIntrospecteeProperty / #84041# infrastructure for activating pages from outside
+ *
* Revision 1.5 2001/02/05 08:58:27 fs
* #83468# +m_nClassId
*