summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/mvtabdlg.cxx
diff options
context:
space:
mode:
authorAndreas Heinisch <andreas.heinisch@yahoo.de>2023-01-05 08:21:35 +0100
committerAndreas Heinisch <andreas.heinisch@yahoo.de>2023-01-05 16:06:06 +0000
commita8d3b8985a79c216c3c132fb2e6bb0f85a27831a (patch)
tree3cdd1f523d79d9209bd74919eedf7779a8c35d2f /sc/source/ui/miscdlgs/mvtabdlg.cxx
parent88a67c50af61fa9ee5fa677589ce5db2039d6f2e (diff)
tdf#56973 - Copy/paste (single) sheet is checked but not enabled
Enable the "copy" radio button in the move/copy sheet dialog, if there is just a single sheet in a spreadsheet document. Otherwise, users get the impression that a single sheet cannot be copied because the "copy" radio button is selected but not enabled, i.e., greyed out. Change-Id: Icf98973585491b0c8c9a74aad3900f6cc2895d11 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145064 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Diffstat (limited to 'sc/source/ui/miscdlgs/mvtabdlg.cxx')
-rw-r--r--sc/source/ui/miscdlgs/mvtabdlg.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/mvtabdlg.cxx b/sc/source/ui/miscdlgs/mvtabdlg.cxx
index 9cc587aa56e0..e64a29b6b471 100644
--- a/sc/source/ui/miscdlgs/mvtabdlg.cxx
+++ b/sc/source/ui/miscdlgs/mvtabdlg.cxx
@@ -74,7 +74,6 @@ void ScMoveTableDlg::SetForceCopyTable()
{
m_xBtnCopy->set_active(true);
m_xBtnMove->set_sensitive(false);
- m_xBtnCopy->set_sensitive(false);
SetOkBtnLabel();
}