diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-12-16 12:42:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-12-16 20:29:22 +0100 |
commit | c4f5b1b4fa4cb2b4c1d60e2f5dd4b068ea740c48 (patch) | |
tree | cb4899b2c2b57c17d48b41ef79f962c6a51f5fe5 /sd/source/ui/view | |
parent | 3b3c844c6419e8b71cbcabd7aef49b28701db920 (diff) |
tdf#138963 Clicking the position statusbar box disables selection
if there is no object selected, since...
commit d3dbbdce4eb71ae848e7682374e011c4a6129b15
Date: Wed Jan 17 15:20:31 2018 +0100
lokdialog: Convert the Format -> ... -> Position and Size... to async exec.
Change-Id: Idcdbfb1366db61e247c31eab5cb27a39978b0fd9
Change-Id: I959789b055a880ac4c48a863c17eb6769b322577
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107845
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 33203efef9b9..b11da7048b01 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -1480,7 +1480,9 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) case SID_ATTR_TRANSFORM: { SetCurrentFunction( FuTransform::Create( this, GetActiveWindow(), mpDrawView.get(), GetDoc(), rReq ) ); - if (rReq.GetArgs()) + // tdf#138963 conditions tested for here must be the same as those + // of the early returns from FuTransform::DoExecute + if (rReq.GetArgs() || !mpDrawView->AreObjectsMarked()) { Invalidate(SID_RULER_OBJECT); Cancel(); |