- change: Remove all breakpoints of the current non-project file, when it is closed.
This commit is contained in:
parent
457e84f86a
commit
3ede3e4ce6
5
NEWS.md
5
NEWS.md
|
@ -1,3 +1,8 @@
|
|||
Red Panda C++ Version 2.13
|
||||
|
||||
- change: Remove all breakpoints of the current non-project file, when it is closed.
|
||||
|
||||
|
||||
Red Panda C++ Version 2.13
|
||||
|
||||
- fix: Only C/C++/GAS files can set breakpoints.
|
||||
|
|
|
@ -10,7 +10,7 @@ isEmpty(APP_NAME) {
|
|||
}
|
||||
|
||||
isEmpty(APP_VERSION) {
|
||||
APP_VERSION = 2.13
|
||||
APP_VERSION = 2.14
|
||||
}
|
||||
|
||||
macos: {
|
||||
|
|
|
@ -180,9 +180,10 @@ bool EditorList::closeEditor(Editor* editor, bool transferFocus, bool force) {
|
|||
PProjectUnit unit = pMainWindow->project()->findUnit(editor);
|
||||
pMainWindow->project()->closeUnit(unit);
|
||||
} else {
|
||||
if (pMainWindow->visitHistoryManager()->addFile(editor->filename())) {
|
||||
if (!editor->isNew() && pMainWindow->visitHistoryManager()->addFile(editor->filename())) {
|
||||
pMainWindow->rebuildOpenedFileHisotryMenu();
|
||||
}
|
||||
editor->clearBreakpoints();
|
||||
doRemoveEditor(editor);
|
||||
}
|
||||
updateLayout();
|
||||
|
|
|
@ -14,7 +14,7 @@ qsynedit.subdir = libs/qsynedit
|
|||
|
||||
APP_NAME = RedPandaCPP
|
||||
|
||||
APP_VERSION = 2.13
|
||||
APP_VERSION = 2.14
|
||||
|
||||
# Add the dependencies so that the RedPandaIDE project can add the depended programs
|
||||
# into the main app bundle
|
||||
|
|
Loading…
Reference in New Issue