[Libreoffice-commits] core.git: dbaccess/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Sun Feb 9 18:48:10 UTC 2020
dbaccess/source/ui/app/AppController.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 57a5c0f04526fc05907334311db5727e665bdde2
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun Feb 9 11:12:46 2020 +0100
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Feb 9 19:47:37 2020 +0100
tdf#126578: call ensureConnection to be able to call "Create as View"
See https://bugs.documentfoundation.org/show_bug.cgi?id=126578#c8
Change-Id: I9eadb704214b1aad9573bcd89e3fd61213627a8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88329
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index aceaec2b36f6..087f7e500f0f 100644
--- a/dbaccess/source/ui/app/AppController.cxx
+++ b/dbaccess/source/ui/app/AppController.cxx
@@ -1657,6 +1657,11 @@ bool OApplicationController::onContainerSelect(ElementType _eType)
return false;
}
}
+ else if ( _eType == E_QUERY )
+ {
+ // tdf#126578: retrieve connection to be able to call "Create as View"
+ ensureConnection();
+ }
Reference< XLayoutManager > xLayoutManager = getLayoutManager( getFrame() );
if ( xLayoutManager.is() )
{
More information about the Libreoffice-commits
mailing list