From 921e9cc31b5ceb6976b9fee53faf73967265c11d Mon Sep 17 00:00:00 2001 From: RensDofferhoff <20978635+RensDofferhoff@users.noreply.github.com> Date: Wed, 1 Mar 2023 11:48:26 +0100 Subject: [PATCH] dirty fix for the resize dialog (#5042) --- Desktop/components/JASP/Widgets/ResizeDataDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Desktop/components/JASP/Widgets/ResizeDataDialog.qml b/Desktop/components/JASP/Widgets/ResizeDataDialog.qml index cf1d0c4d35..c22cbaaec1 100644 --- a/Desktop/components/JASP/Widgets/ResizeDataDialog.qml +++ b/Desktop/components/JASP/Widgets/ResizeDataDialog.qml @@ -148,7 +148,7 @@ Popup id: resizeButton activeFocusOnTab: true text: qsTr("Resize") - onClicked: { dataSetModel.resizeData(rows.value, cols.value); popupResizeData.close(); } + onClicked: { forceActiveFocus(); dataSetModel.resizeData(rows.value, cols.value); popupResizeData.close(); } toolTip: qsTr("Resize data to set values") KeyNavigation.tab: closeButtonCross