| Server IP : 82.208.35.60 / Your IP : 216.73.217.116 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/graphics/aseprite/files/ |
Upload File : |
--- src/app/app_menus.cpp.orig 2018-07-24 19:18:54 UTC
+++ src/app/app_menus.cpp
@@ -381,7 +381,7 @@ void AppMenus::initTheme()
menu->initTheme();
}
-bool AppMenus::rebuildRecentList()
+void AppMenus::rebuildRecentList() // workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213773
{
AppMenuItem* list_menuitem = dynamic_cast<AppMenuItem*>(m_recentListMenuitem);
MenuItem* menuitem;
@@ -389,7 +389,7 @@ bool AppMenus::rebuildRecentList()
// Update the recent file list menu item
if (list_menuitem) {
if (list_menuitem->hasSubmenuOpened())
- return false;
+ return;
Command* cmd_open_file =
Commands::instance()->byId(CommandId::OpenFile());
@@ -437,8 +437,6 @@ bool AppMenus::rebuildRecentList()
}
}
}
-
- return true;
}
Menu* AppMenus::loadMenuById(TiXmlHandle& handle, const char* id)