From 99203d332ddfc3e0d2eae850cf18e1ea1e2e7283 Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Tue, 29 Jan 2013 14:57:50 +0100 Subject: [PATCH] Proper refresh when dropping files on text view --- Frameworks/OakTextView/src/OakTextView.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/Frameworks/OakTextView/src/OakTextView.mm b/Frameworks/OakTextView/src/OakTextView.mm index 884251da..7de739b8 100644 --- a/Frameworks/OakTextView/src/OakTextView.mm +++ b/Frameworks/OakTextView/src/OakTextView.mm @@ -2374,6 +2374,7 @@ static void update_menu_key_equivalents (NSMenu* menu, action_to_key_t const& ac flagNames.push_back(qualNames[i].name); } + AUTO_REFRESH; document::run(parse_drag_command(handler), document->buffer(), editor->ranges(), document, std::map(), document::run_callback_ptr((document::run_callback_t*)new callback_t(handlerToFiles[handler->uuid()], text::join(flagNames, "|")))); } }