From 2636401c1cce114989dabfa168898db4b6adf5ae Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 13 Apr 2016 09:02:04 -0300 Subject: [PATCH] Remove gui.xml version check on release This is sometimes useful on Debug builds, but it brings more problems on Steam when we want to release a fix for a specific platform with a modified version number. --- src/app/app_menus.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/app_menus.cpp b/src/app/app_menus.cpp index 216f82164..e3c9f8b36 100644 --- a/src/app/app_menus.cpp +++ b/src/app/app_menus.cpp @@ -1,5 +1,5 @@ // Aseprite -// Copyright (C) 2001-2015 David Capello +// Copyright (C) 2001-2016 David Capello // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as @@ -75,9 +75,11 @@ void AppMenus::reload() m_rootMenu.reset(loadMenuById(handle, "main_menu")); +#if _DEBUG // Add a warning element because the user is not using the last well-known gui.xml file. if (GuiXml::instance()->version() != VERSION) m_rootMenu->insertChild(0, createInvalidVersionMenuitem()); +#endif LOG("Main menu loaded.\n");