[Libreoffice-commits] core.git: include/vcl
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Sep 4 07:59:02 UTC 2018
include/vcl/weld.hxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 25f109c229eb4300bee79e41ae69137d5f9fdb35
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Sep 3 19:23:05 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Sep 4 09:58:38 2018 +0200
reformat current value on initial weld
Change-Id: I415102e94fe2dcd9c851b47462139e6b1f425bce
Reviewed-on: https://gerrit.libreoffice.org/59953
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 74ad3803bdc0..60923123c57a 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -603,6 +603,7 @@ public:
m_xSpinButton->connect_input(LINK(this, MetricSpinButton, spin_button_input));
m_xSpinButton->connect_value_changed(
LINK(this, MetricSpinButton, spin_button_value_changed));
+ spin_button_output(*m_xSpinButton);
}
FieldUnit get_unit() const { return m_eSrcUnit; }
@@ -762,6 +763,7 @@ public:
m_xSpinButton->connect_value_changed(LINK(this, TimeSpinButton, spin_button_value_changed));
m_xSpinButton->connect_cursor_position(
LINK(this, TimeSpinButton, spin_button_cursor_position));
+ spin_button_output(*m_xSpinButton);
}
void set_value(const tools::Time& rTime) { m_xSpinButton->set_value(ConvertValue(rTime)); }
More information about the Libreoffice-commits
mailing list