Browse Source

Fix logic to match name

master
Roy Tam 5 years ago
parent
commit
e84e27c207
  1. 2
      k-meleon/app/BrowserGlue.cpp
  2. 2
      k-meleon/app/BrowserWindow.h

2
k-meleon/app/BrowserGlue.cpp

@ -430,7 +430,7 @@ void CBrowserGlue::ShowContextMenu(UINT aContextFlags)
CString menu;
if (!(aContextFlags & CONTEXT_LINK) &&
!(aContextFlags & CONTEXT_IMAGE) &&
!mpBrowserView->GetBrowserWrapper()->CanCopy2())
mpBrowserView->GetBrowserWrapper()->CanCopy2())
{
// printf("CBrowserGlue::ShowContextMenu(%08x) = SelectedText\n", aContextFlags);
menu = _T("SelectedText");

2
k-meleon/app/BrowserWindow.h

@ -177,7 +177,7 @@ public:
bool selectionCollapsed = false;
domSelection->GetIsCollapsed(&selectionCollapsed);
return selectionCollapsed;
return !selectionCollapsed;
}
BOOL Reload(bool force)

Loading…
Cancel
Save