Kaydet (Commit) ecb4befa authored tarafından Caolán McNamara's avatar Caolán McNamara

I don't see why we hide 'select all' if there is no insert symbol dialog

Change-Id: I928c94e104009e880c46100bdb57926f1a006877
üst 13861216
......@@ -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
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment