summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-30 13:16:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-30 15:44:23 +0000
commitecb4befa546b21e0fa53b93e734bc3cabcf4f62b (patch)
treeb00f56d5231b17e8cdda7c4b1b52ba4b59625341 /vcl/source
parent13861216dc3d6b83d2d588024af9268f495a1793 (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.cxx1
-rw-r--r--vcl/source/edit/vclmedit.cxx1
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();