mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Merge pull request #1089 from Logan-ReXDev/fix-project-manager-title
Fix project manager title showing as (DEBUG)
This commit is contained in:
@@ -1419,6 +1419,8 @@ void Window::_notification(int p_what) {
|
|||||||
// Append a suffix to the window title to denote that the project is running
|
// Append a suffix to the window title to denote that the project is running
|
||||||
// from a debug build (including the editor). Since this results in lower performance,
|
// from a debug build (including the editor). Since this results in lower performance,
|
||||||
// this should be clearly presented to the user.
|
// this should be clearly presented to the user.
|
||||||
|
if (tr_title.is_empty())
|
||||||
|
break;
|
||||||
tr_title = vformat("%s (DEBUG)", tr_title);
|
tr_title = vformat("%s (DEBUG)", tr_title);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user