diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-30 13:16:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-30 15:44:23 +0000 |
commit | ecb4befa546b21e0fa53b93e734bc3cabcf4f62b (patch) | |
tree | b00f56d5231b17e8cdda7c4b1b52ba4b59625341 /vcl/source | |
parent | 13861216dc3d6b83d2d588024af9268f495a1793 (diff) |
I don't see why we hide 'select all' if there is no insert symbol dialog
Change-Id: I928c94e104009e880c46100bdb57926f1a006877
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/edit.cxx | 1 | ||||
-rw-r--r-- | vcl/source/edit/vclmedit.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 64046ecf87c1..b3a581e601b7 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -1985,7 +1985,6 @@ void Edit::Command( const CommandEvent& rCEvt ) bool bAllSelected = maSelection.Min() == 0 && maSelection.Max() == maText.getLength(); pPopup->EnableItem(pPopup->GetItemId("selectall"), !bAllSelected); pPopup->ShowItem(pPopup->GetItemId("specialchar"), pImplFncGetSpecialChars); - pPopup->ShowItem(pPopup->GetItemId("selectall"), pImplFncGetSpecialChars); mbActivePopup = true; Selection aSaveSel = GetSelection(); // if someone changes selection in Get/LoseFocus, e.g. URL bar diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index 9cc1a9063d26..40046b4f030c 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -850,7 +850,6 @@ void TextWindow::Command( const CommandEvent& rCEvt ) pPopup->EnableItem(pPopup->GetItemId("specialchar"), bEnableSpecialChar); pPopup->EnableItem(pPopup->GetItemId("undo"), bEnableUndo); pPopup->ShowItem(pPopup->GetItemId("specialchar"), !Edit::GetGetSpecialCharsFunction()); - pPopup->ShowItem(pPopup->GetItemId("selectall"), !Edit::GetGetSpecialCharsFunction()); mbActivePopup = true; Point aPos = rCEvt.GetMousePosPixel(); |