summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-03 16:03:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-03 21:31:44 +0200
commitfdab8ee608297bb618ae911f46b525d06eb4cac1 (patch)
treee2eedf00df9472c48a0de5f7bd52a45df570c47a /sc
parentfdbc12465e468ed50e4562268f44b24a73e22727 (diff)
Resolves: tdf#125105 missing can-focus
Change-Id: I201b658cd0c643fbcaf2ec1411b2a2991eca36dd Reviewed-on: https://gerrit.libreoffice.org/71758 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/dbgui/scuiimoptdlg.cxx2
-rw-r--r--sc/uiconfig/scalc/ui/imoptdialog.ui2
2 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/scuiimoptdlg.cxx b/sc/source/ui/dbgui/scuiimoptdlg.cxx
index f72135e9d16a..0a0d8b2b884b 100644
--- a/sc/source/ui/dbgui/scuiimoptdlg.cxx
+++ b/sc/source/ui/dbgui/scuiimoptdlg.cxx
@@ -129,11 +129,13 @@ ScImportOptionsDlg::ScImportOptionsDlg(weld::Window* pParent, bool bAscii,
{
m_xDialog->set_help_id(m_xDialog->get_help_id() + "?config=NonTextImport");
m_xLbCharset->show();
+ m_xTvCharset->hide();
}
else
{
m_xTvCharset->set_size_request(-1, m_xTvCharset->get_height_rows(6));
m_xEncGrid->set_vexpand(true);
+ m_xLbCharset->hide();
m_xTvCharset->show();
}
diff --git a/sc/uiconfig/scalc/ui/imoptdialog.ui b/sc/uiconfig/scalc/ui/imoptdialog.ui
index fe4526d65f32..80b6a0ee99be 100644
--- a/sc/uiconfig/scalc/ui/imoptdialog.ui
+++ b/sc/uiconfig/scalc/ui/imoptdialog.ui
@@ -216,7 +216,7 @@
<property name="has_entry">True</property>
<child internal-child="entry">
<object class="GtkEntry" id="comboboxtext-entry">
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="activates_default">True</property>
</object>
</child>