diff options
author | Cameron Cawley | 2019-09-20 00:33:32 +0100 |
---|---|---|
committer | Filippos Karapetis | 2019-09-21 22:16:01 +0300 |
commit | 7bf22fa99613c5815317583bd5e1ac1dff693046 (patch) | |
tree | 6ea008336279cbde0cf883f8ff58faf147be8c22 /engines/wage/gui.cpp | |
parent | ec4c846e8cde5ba578bd5385698efaf6d530a716 (diff) | |
download | scummvm-rg350-7bf22fa99613c5815317583bd5e1ac1dff693046.tar.gz scummvm-rg350-7bf22fa99613c5815317583bd5e1ac1dff693046.tar.bz2 scummvm-rg350-7bf22fa99613c5815317583bd5e1ac1dff693046.zip |
BACKENDS: Add EVENT_CLIPBOARD_UPDATE event
Diffstat (limited to 'engines/wage/gui.cpp')
-rw-r--r-- | engines/wage/gui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index 51c140fdb6..609fe35666 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -242,6 +242,10 @@ void Gui::regenWeaponsMenu() { } bool Gui::processEvent(Common::Event &event) { + if (event.type == Common::EVENT_CLIPBOARD_UPDATE) { + _menu->enableCommand(kMenuEdit, kMenuActionPaste, true); + } + return _wm.processEvent(event); } |