enhancement: Show full filepath in the tooltip of editor tab.

This commit is contained in:
Roy Qu 2024-05-11 10:19:44 +08:00
parent 97cd0cb3fc
commit 93aaca10cd
2 changed files with 2 additions and 0 deletions

View File

@ -167,6 +167,7 @@ Red Panda C++ Version 2.27
- fix: Fail to evaluate expressions if macro can't be expanded. - fix: Fail to evaluate expressions if macro can't be expanded.
- enhancement: New menu item "Code completion" in "Code" menu. - enhancement: New menu item "Code completion" in "Code" menu.
- fix: Can't compile / run assembly files in gcc 13/14 . - fix: Can't compile / run assembly files in gcc 13/14 .
- enhancement: Show full filepath in the tooltip of editor tab.
Red Panda C++ Version 2.26 Red Panda C++ Version 2.26
- enhancement: Code suggestion for embedded std::vectors. - enhancement: Code suggestion for embedded std::vectors.

View File

@ -5547,4 +5547,5 @@ void Editor::updateCaption(const QString& newCaption) {
} }
caption = caption.replace("&","&&"); caption = caption.replace("&","&&");
mParentPageControl->setTabText(index,caption); mParentPageControl->setTabText(index,caption);
mParentPageControl->setTabToolTip(index, mFilename);
} }