[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - dbaccess/source dbaccess/uiconfig
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Dec 2 10:10:08 UTC 2018
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 <caolanm at redhat.com>
AuthorDate: Sat Dec 1 20:16:16 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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>
More information about the Libreoffice-commits
mailing list