aboutsummaryrefslogtreecommitdiff
path: root/graphics/aseprite/files/patch-src_app_app__menus.cpp
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-07-26 23:44:04 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-07-26 23:44:04 +0000
commitdcfe5ce8822a37e0ff7dbf624651fea64a43c9e6 (patch)
tree23f201c14a503eb62b48630497c6f5e84b0a838b /graphics/aseprite/files/patch-src_app_app__menus.cpp
parent99fa9a1472697ae64749f9870e49840c6a5061d0 (diff)
Notes
Diffstat (limited to 'graphics/aseprite/files/patch-src_app_app__menus.cpp')
-rw-r--r--graphics/aseprite/files/patch-src_app_app__menus.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/aseprite/files/patch-src_app_app__menus.cpp b/graphics/aseprite/files/patch-src_app_app__menus.cpp
index bc26a72154da..4400f21d9157 100644
--- a/graphics/aseprite/files/patch-src_app_app__menus.cpp
+++ b/graphics/aseprite/files/patch-src_app_app__menus.cpp
@@ -1,6 +1,6 @@
---- src/app/app_menus.cpp.orig 2017-11-03 13:51:45 UTC
+--- src/app/app_menus.cpp.orig 2018-07-24 19:18:54 UTC
+++ src/app/app_menus.cpp
-@@ -371,7 +371,7 @@ void AppMenus::initTheme()
+@@ -381,7 +381,7 @@ void AppMenus::initTheme()
menu->initTheme();
}
@@ -9,16 +9,16 @@
{
AppMenuItem* list_menuitem = dynamic_cast<AppMenuItem*>(m_recentListMenuitem);
MenuItem* menuitem;
-@@ -379,7 +379,7 @@ bool AppMenus::rebuildRecentList()
+@@ -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 = CommandsModule::instance()->getCommandByName(CommandId::OpenFile);
-
-@@ -426,8 +426,6 @@ bool AppMenus::rebuildRecentList()
+ Command* cmd_open_file =
+ Commands::instance()->byId(CommandId::OpenFile());
+@@ -437,8 +437,6 @@ bool AppMenus::rebuildRecentList()
}
}
}