include/vcl/weld.hxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 25f109c229eb4300bee79e41ae69137d5f9fdb35
Author: Caolán McNamara <[email protected]>
AuthorDate: Mon Sep 3 19:23:05 2018 +0100
Commit: Caolán McNamara <[email protected]>
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 <[email protected]>
Tested-by: Caolán McNamara <[email protected]>
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)); }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits