summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-03-09 10:26:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-03-09 13:25:56 +0100
commit633b2f4dffedaf4a162a5fa92eeaeb509efab173 (patch)
tree56b0ee015b834444da703fb7779d4b171c22c5a1 /vcl
parentad85d0503bdce3f4a7f8be3dc571343f5b7afdc6 (diff)
save/restore the entry text of the fontsize widget
instead of its value, because the min value is 2, but we set empty text to indicate multiple values are selected in the underlying text. Change-Id: If4232b500cd177a264aa5e6ca0537021483db95f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90208 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/salvtables.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 1d5683a7d392..5fa320af8dbc 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -5881,7 +5881,7 @@ public:
virtual bool changed_by_direct_pick() const override
{
- return m_bInSelect && !m_xComboBox->IsModifyByKeyboard();
+ return m_bInSelect && !m_xComboBox->IsModifyByKeyboard() && !m_xComboBox->IsTravelSelect();
}
virtual void set_entry_message_type(weld::EntryMessageType eType) override