summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-02 16:15:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-02 16:18:05 +0100
commit6fa98a08f2f4b57b660fc39542a9ceb20779d769 (patch)
treed8a1c426ffed351c4403ceb936eb0dd5189550db /vcl
parent31e4419ac7581aa7864905bcd4ce42e14df6c9bb (diff)
Related: fdo#75307 use the unique auto help id to identify tabpages
and dialogs that are loaded from the .ui format Change-Id: Id8abff6d89818ca7384d9691a05eacd378a5905c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/tabpage.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/window/tabpage.cxx b/vcl/source/window/tabpage.cxx
index a733824ece12..5e5526d6607d 100644
--- a/vcl/source/window/tabpage.cxx
+++ b/vcl/source/window/tabpage.cxx
@@ -181,6 +181,14 @@ void TabPage::DeactivatePage()
{
}
+OString TabPage::GetConfigId() const
+{
+ OString sId(GetHelpId());
+ if (sId.isEmpty() && isLayoutEnabled(this))
+ sId = GetWindow(WINDOW_FIRSTCHILD)->GetHelpId();
+ return sId;
+}
+
Size TabPage::GetOptimalSize() const
{
if (isLayoutEnabled(this))