diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2016-10-21 12:40:50 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-10-23 01:38:32 +0300 |
commit | 928776b734c6aa188151bbce048d5bef4486dce7 (patch) | |
tree | 0e3eef102d2dbc5283fd51e3bb86aa240e00299f /dbaccess | |
parent | d5eabed46ef3bc6754d381a0551ce070df933894 (diff) |
Enable save as when editing view too
Not sure why it was disabled, works very well for me.
Change-Id: I76648d06aa20162defd96fb22e3eb8fd04db28d0
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/querydesign/querycontroller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index c683536ba40f..3fa97d7c37bb 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -479,7 +479,7 @@ FeatureState OQueryController::GetState(sal_uInt16 _nId) const aReturn.bEnabled = isEditable() && m_bGraphicalDesign && m_vTableData.size() > 1; break; case ID_BROWSER_SAVEASDOC: - aReturn.bEnabled = !editingCommand() && !editingView() && (!m_bGraphicalDesign || !(m_vTableFieldDesc.empty() || m_vTableData.empty())); + aReturn.bEnabled = !editingCommand() && (!m_bGraphicalDesign || !(m_vTableFieldDesc.empty() || m_vTableData.empty())); break; case ID_BROWSER_SAVEDOC: aReturn.bEnabled = isEditable() && (!m_bGraphicalDesign || !(m_vTableFieldDesc.empty() || m_vTableData.empty())); |