diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-01 20:16:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-02 11:09:49 +0100 |
commit | cd2ed4a079a5da676b836dd9dd5b00cf99c68ef2 (patch) | |
tree | f2538c6f907297216f69f2e307fbabb348f28924 /dbaccess | |
parent | d489e5fec01c1ae40713b1184042716f3d6ce988 (diff) |
Resolves: tdf#121810 wrong column order
Change-Id: Ie82c47ea772b6eb5fc7b84426bb3c1cc98dc9c14
Reviewed-on: https://gerrit.libreoffice.org/64411
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/sqlmessage.cxx | 6 | ||||
-rw-r--r-- | dbaccess/uiconfig/ui/sqlexception.ui | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx b/dbaccess/source/ui/dlg/sqlmessage.cxx index f1683f82f700..74b4f115e6ec 100644 --- a/dbaccess/source/ui/dlg/sqlmessage.cxx +++ b/dbaccess/source/ui/dlg/sqlmessage.cxx @@ -323,6 +323,12 @@ OExceptionChainDialog::OExceptionChainDialog(weld::Window* pParent, const Except lcl_insertExceptionEntry(*m_xExceptionList, m_aExceptions.size() - 1, aInfo22018); } + + if (m_xExceptionList->n_children()) + { + m_xExceptionList->select(0); + OnExceptionSelected(*m_xExceptionList); + } } IMPL_LINK_NOARG(OExceptionChainDialog, OnExceptionSelected, weld::TreeView&, void) diff --git a/dbaccess/uiconfig/ui/sqlexception.ui b/dbaccess/uiconfig/ui/sqlexception.ui index 86521e0a9102..ef392f219271 100644 --- a/dbaccess/uiconfig/ui/sqlexception.ui +++ b/dbaccess/uiconfig/ui/sqlexception.ui @@ -4,10 +4,10 @@ <requires lib="gtk+" version="3.18"/> <object class="GtkTreeStore" id="liststore1"> <columns> - <!-- column-name text --> - <column type="gchararray"/> <!-- column-name image --> <column type="GdkPixbuf"/> + <!-- column-name text --> + <column type="gchararray"/> <!-- column-name id --> <column type="gchararray"/> </columns> |