dbaccess/source/ui/dlg/sqlmessage.cxx | 6 ++++++ dbaccess/uiconfig/ui/sqlexception.ui | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-)
New commits: commit cd2ed4a079a5da676b836dd9dd5b00cf99c68ef2 Author: Caolán McNamara <[email protected]> AuthorDate: Sat Dec 1 20:16:16 2018 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Sun Dec 2 11:09:49 2018 +0100 Resolves: tdf#121810 wrong column order Change-Id: Ie82c47ea772b6eb5fc7b84426bb3c1cc98dc9c14 Reviewed-on: https://gerrit.libreoffice.org/64411 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> 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> _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
