- fix: can't add bookmark at a breakpoint line
This commit is contained in:
parent
24c2262c95
commit
87ef9c216c
3
NEWS.md
3
NEWS.md
|
@ -1,3 +1,6 @@
|
|||
Version 0.7.1
|
||||
- fix: can't add bookmark at a breakpoint line
|
||||
|
||||
Version 0.7.0
|
||||
- fix: Backspace still works in readonly mode
|
||||
- fix: save as file dialog's operation mode is not correct
|
||||
|
|
|
@ -2557,8 +2557,8 @@ void MainWindow::onEditorContextMenu(const QPoint &pos)
|
|||
line>=0 && editor->lines()->count()>0
|
||||
&& !editor->hasBreakpoint(line)
|
||||
);
|
||||
ui->actionRemove_Bookmark->setEnabled(editor->hasBreakpoint(line));
|
||||
ui->actionModify_Bookmark_Description->setEnabled(editor->hasBreakpoint(line));
|
||||
ui->actionRemove_Bookmark->setEnabled(editor->hasBookmark(line));
|
||||
ui->actionModify_Bookmark_Description->setEnabled(editor->hasBookmark(line));
|
||||
menu.exec(editor->viewport()->mapToGlobal(pos));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue