Bug #621
RichTextView dosen't show copy icon in menubar
Status: | Approved | Start date: | 12/29/2013 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 0% | |
Category: | CtrlLib | Spent time: | - | |
Target version: | - |
Description
It seems that Rich TextView menu bar is created in a wrong way...
Should be(CtrlLib/RichTextView.cpp - line 111):
void RichTextView::RightDown(Point p, dword keyflags)
{
MenuBar b;
b.Add(t_("Copy"), CtrlImg::copy(), THISBACK).Key(K_CTRL_C);
b.Execute();
}
History
#1 Updated by Zbigniew Rebacz over 11 years ago
Preformated code:
void RichTextView::RightDown(Point p, dword keyflags)
{
MenuBar b;
b.Add(t_("Copy"), CtrlImg::copy(), THISBACK(Copy)).Key(K_CTRL_C);
b.Execute();
}
- adding "code class="cpp"" after pre makes cpp highlight trick in redmine.
#2 Updated by Zbigniew Rebacz over 11 years ago
- File deleted (
RichTextView.cpp)
#3 Updated by Zbigniew Rebacz over 11 years ago
- File RichTextView.cpp
added
We can also add additional operation locking code:
b.Add(t_("Copy"), CtrlImg::copy(), THISBACK(Copy)).Key(K_CTRL_C).Enable(cursor != anchor);
#4 Updated by Zbigniew Rebacz over 11 years ago
- Status changed from New to Patch ready
#5 Updated by Miroslav Fidler over 11 years ago
- Status changed from Patch ready to Approved