[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jan 26 15:19:37 UTC 2021
vcl/unx/generic/print/prtsetup.cxx | 9 +++++++++
vcl/unx/generic/print/prtsetup.hxx | 1 +
2 files changed, 10 insertions(+)
New commits:
commit 95617b04651ae9f515ced79760851123a7e09236
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jan 26 11:59:56 2021 +0000
Commit: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Tue Jan 26 16:19:15 2021 +0100
Resolves: tdf#106484 Print Properties Device tab dropdown change not detected
probably since...
commit 07602e5a8b869be1c45158cf71d6015d17a5f797
Date: Wed Jun 24 17:31:32 2015 +0200
tdf#91362: Don't override printer page autodetection
if printer settings haven't been modified
Change-Id: I6a7cb7c7ae00d7d31defe7bc1d191a6bff3ff31c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109888
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/vcl/unx/generic/print/prtsetup.cxx b/vcl/unx/generic/print/prtsetup.cxx
index 5ad90b7b878e..33cfc7a1fabe 100644
--- a/vcl/unx/generic/print/prtsetup.cxx
+++ b/vcl/unx/generic/print/prtsetup.cxx
@@ -286,6 +286,10 @@ RTSDevicePage::RTSDevicePage(weld::Widget* pPage, RTSDialog* pParent)
m_xPPDKeyBox->connect_changed( LINK( this, RTSDevicePage, SelectHdl ) );
m_xPPDValueBox->connect_changed( LINK( this, RTSDevicePage, SelectHdl ) );
+ m_xLevelBox->connect_changed(LINK(this, RTSDevicePage, ComboChangedHdl));
+ m_xSpaceBox->connect_changed(LINK(this, RTSDevicePage, ComboChangedHdl));
+ m_xDepthBox->connect_changed(LINK(this, RTSDevicePage, ComboChangedHdl));
+
switch( m_pParent->m_aJobData.m_nColorDevice )
{
case 0:
@@ -437,6 +441,11 @@ IMPL_LINK( RTSDevicePage, SelectHdl, weld::TreeView&, rBox, void )
m_pParent->SetDataModified( true );
}
+IMPL_LINK_NOARG( RTSDevicePage, ComboChangedHdl, weld::ComboBox&, void )
+{
+ m_pParent->SetDataModified( true );
+}
+
void RTSDevicePage::FillValueBox( const PPDKey* pKey )
{
m_xPPDValueBox->clear();
diff --git a/vcl/unx/generic/print/prtsetup.hxx b/vcl/unx/generic/print/prtsetup.hxx
index 6da7b9aa6757..cb1919a15da7 100644
--- a/vcl/unx/generic/print/prtsetup.hxx
+++ b/vcl/unx/generic/print/prtsetup.hxx
@@ -121,6 +121,7 @@ private:
DECL_LINK(SelectHdl, weld::TreeView&, void);
DECL_LINK(ModifyHdl, weld::Entry&, void);
+ DECL_LINK(ComboChangedHdl, weld::ComboBox&, void);
DECL_LINK(ImplHandleReselectHdl, Timer*, void);
public:
More information about the Libreoffice-commits
mailing list