mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fix in_tag and is_tag calls, fixes #47
This commit is contained in:
@@ -553,7 +553,7 @@ void TextValueEditor::onLoseFocus() {
|
||||
|
||||
bool TextValueEditor::onContextMenu(wxMenu& m, wxContextMenuEvent& ev) {
|
||||
// in a keword? => "reminder text" option
|
||||
size_t kwpos = in_tag(value().value(), _("<kw-"), selection_start_i, selection_start_i);
|
||||
size_t kwpos = in_tag(value().value(), _("<kw"), selection_start_i, selection_start_i);
|
||||
if (kwpos != String::npos) {
|
||||
m.InsertSeparator(0);
|
||||
m.Insert(0, make_menu_item_tr(&m, ID_FORMAT_REMINDER, "reminder", "reminder_text", wxITEM_CHECK));
|
||||
|
||||
Reference in New Issue
Block a user