Explorar o código

Report that we have handled copy/paste shortcut event

Josh Engebretson %!s(int64=10) %!d(string=hai) anos
pai
achega
b27a9c1a50

+ 2 - 0
Source/AtomicEditor/Editors/SceneEditor3D/SceneEditor3D.cpp

@@ -141,10 +141,12 @@ bool SceneEditor3D::OnEvent(const TBWidgetEvent &ev)
         if (ev.ref_id == TBIDC("copy"))
         {
             selection_->Copy();
+            return true;
         }
         else if (ev.ref_id == TBIDC("paste"))
         {
             selection_->Paste();
+            return true;
         }
         else if (ev.ref_id == TBIDC("close"))
         {