Browse Source

Add full version number to window title.

tags/v2.0.2
Andrew Belt 2 years ago
parent
commit
fe0a8c58a1
2 changed files with 2 additions and 4 deletions
  1. +1
    -3
      src/app/MenuBar.cpp
  2. +1
    -1
      src/window/Window.cpp

+ 1
- 3
src/app/MenuBar.cpp View File

@@ -836,9 +836,7 @@ struct HelpButton : MenuButton {

menu->addChild(new ui::MenuSeparator);

menu->addChild(createMenuLabel(APP_NAME + " " + APP_EDITION_NAME));

menu->addChild(createMenuLabel(APP_VERSION));
menu->addChild(createMenuLabel(APP_NAME + " " + APP_EDITION_NAME + " " + APP_VERSION));
}

void step() override {


+ 1
- 1
src/window/Window.cpp View File

@@ -430,7 +430,7 @@ void Window::step() {
gamepad::step();

// Set window title
std::string windowTitle = APP_NAME + " " + APP_VERSION_MAJOR + " " + APP_EDITION_NAME;
std::string windowTitle = APP_NAME + " " + APP_EDITION_NAME + " " + APP_VERSION;
if (APP->patch->path != "") {
windowTitle += " - ";
if (!APP->history->isSaved())


Loading…
Cancel
Save