summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/dapitype.hxx
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-12-03 14:07:59 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2020-12-03 15:46:54 +0100
commitcb6fd518eccd2e121da39ec1a544d6dd8aee0af0 (patch)
tree9d8ebe0ffdfca4b8fcf0efc9e8a31be2f5ad2c74 /sc/source/ui/inc/dapitype.hxx
parent393a3d5c586cc54c144922806abc05ce984f64ed (diff)
jsdialog: make source selector dialog buttons work
Make sure buttons are welded so we will be able to execute actions. Change-Id: I1cb7bdcd80d1cd4d60751940e4d24ecf8e7be1ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107164 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sc/source/ui/inc/dapitype.hxx')
-rw-r--r--sc/source/ui/inc/dapitype.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/inc/dapitype.hxx b/sc/source/ui/inc/dapitype.hxx
index 2fea18054c62..171f724d1bda 100644
--- a/sc/source/ui/inc/dapitype.hxx
+++ b/sc/source/ui/inc/dapitype.hxx
@@ -30,6 +30,8 @@ private:
std::unique_ptr<weld::RadioButton> m_xBtnDatabase;
std::unique_ptr<weld::RadioButton> m_xBtnExternal;
std::unique_ptr<weld::ComboBox> m_xLbNamedRange;
+ std::unique_ptr<weld::Button> m_xBtnOk;
+ std::unique_ptr<weld::Button> m_xBtnCancel;
public:
ScDataPilotSourceTypeDlg(weld::Window* pParent, bool bEnableExternal);
@@ -42,6 +44,7 @@ public:
private:
DECL_LINK(RadioClickHdl, weld::ToggleButton&, void);
+ DECL_LINK(ResponseHdl, weld::Button&, void);
};
class ScDataPilotServiceDlg : public weld::GenericDialogController