diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-02-15 14:11:37 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2019-02-16 18:34:57 +0100 |
commit | 770ef0d216a30efd756b4be26e9fc6e077748fed (patch) | |
tree | de0e22b4011c85edaa054aff5e8fb4d87f81921b /sw/sdi | |
parent | 575438b0b68baeee3d37d887d8645757a4505971 (diff) |
MSForms: Make Control Properties menu to work with drop-down form field
Always forward the Execute and State method to the form shell,
so if a form control is selected the Control Properites will
work correctly.
Otherwise we check whether there is any field next to the cursor.
Change-Id: I25055c17d887a2f2a716d8325f46825cc408179e
Reviewed-on: https://gerrit.libreoffice.org/67911
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_textsh.sdi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi index f8c2daee6d65..3724ee041ecc 100644 --- a/sw/sdi/_textsh.sdi +++ b/sw/sdi/_textsh.sdi @@ -1694,5 +1694,11 @@ interface BaseText StateMethod = StateField ; ] + SID_FM_CTL_PROPERTIES + [ + ExecMethod = Execute ; + StateMethod = GetState ; + ] + } // end of interface text |