[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 30 10:19:36 UTC 2020
vcl/unx/gtk3/gtk3gtkinst.cxx | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
New commits:
commit d828da851efa8e243a940f3eceefc39c6c735f9b
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jun 30 09:49:49 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jun 30 12:18:45 2020 +0200
tdf#134390 update spin button before processing activate signal
Change-Id: I698c789c9fe79e931547d8b230a4885393f5ff28
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97476
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 8e6ed420a381..84d7fa437f96 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -8691,7 +8691,9 @@ private:
pThis->signal_activate();
}
- void signal_activate()
+protected:
+
+ virtual void signal_activate()
{
if (m_aActivateHdl.IsSet())
{
@@ -12007,6 +12009,12 @@ private:
return GTK_INPUT_ERROR;
}
+ virtual void signal_activate() override
+ {
+ gtk_spin_button_update(m_pButton);
+ GtkInstanceEntry::signal_activate();
+ }
+
double toGtk(int nValue) const
{
return static_cast<double>(nValue) / Power10(get_digits());
More information about the Libreoffice-commits
mailing list