Browse Source

Report that we have handled copy/paste shortcut event

Josh Engebretson 10 years ago
parent
commit
b27a9c1a50
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/AtomicEditor/Editors/SceneEditor3D/SceneEditor3D.cpp

+ 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"))
         {