summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAron Budea <aron.budea@collabora.com>2022-06-14 05:18:02 +0200
committerAron Budea <aron.budea@collabora.com>2022-06-15 05:41:15 +0200
commitbba36d106c43513923cce393da05df3c732c5ea0 (patch)
treeea6f8255d10773f95a2fab8eee36fcbc5fffc579 /chart2
parentdbb0522741a88c878be9a89675e83bb79ddb7733 (diff)
tdf#149536 Move Up/Down in Data Table switched enabled statuses
Regression from aa7e7747f4296b3b92379c3c7703b80ad8af6a8b. Change-Id: Id2b66b2e87fdb13a55b32a4989cae2c7796fd003 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135801 Tested-by: Jenkins Reviewed-by: Aron Budea <aron.budea@collabora.com> (cherry picked from commit 67544506c164e5248cc94f9e918de6e7e4994fc3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135847
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/dlg_DataEditor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.cxx b/chart2/source/controller/dialogs/dlg_DataEditor.cxx
index 9ef2e70e8961..6ea5a4264b9e 100644
--- a/chart2/source/controller/dialogs/dlg_DataEditor.cxx
+++ b/chart2/source/controller/dialogs/dlg_DataEditor.cxx
@@ -111,8 +111,8 @@ IMPL_LINK_NOARG(DataEditor, BrowserCursorMovedHdl, DataBrowser*, void)
m_xTbxData->set_item_sensitive("MoveLeftColumn", bIsDataValid && m_xBrwData->MayMoveLeftColumns() );
m_xTbxData->set_item_sensitive("MoveRightColumn", bIsDataValid && m_xBrwData->MayMoveRightColumns() );
- m_xTbxData->set_item_sensitive("MoveUpRow", bIsDataValid && m_xBrwData->MayMoveDownRows() );
- m_xTbxData->set_item_sensitive("MoveDownRow", bIsDataValid && m_xBrwData->MayMoveUpRows() );
+ m_xTbxData->set_item_sensitive("MoveDownRow", bIsDataValid && m_xBrwData->MayMoveDownRows() );
+ m_xTbxData->set_item_sensitive("MoveUpRow", bIsDataValid && m_xBrwData->MayMoveUpRows() );
}
// disable all modifying controls