diff options
author | Vojtech Kral <vojtech@kral.hk> | 2019-02-21 13:54:18 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2019-02-21 15:17:26 +0300 |
commit | bf699462c3c0b01c6a8389cd66db8d0d1df2a442 (patch) | |
tree | 7951011d119a30cf157859b0460ac87dbaed3913 /src/slic3r/GUI/ImGuiWrapper.cpp | |
parent | 73daf085e6463af12242c04da1c8ff1e4793075f (diff) |
imgui: Attempt to fix Tab key
Diffstat (limited to 'src/slic3r/GUI/ImGuiWrapper.cpp')
-rw-r--r-- | src/slic3r/GUI/ImGuiWrapper.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/slic3r/GUI/ImGuiWrapper.cpp b/src/slic3r/GUI/ImGuiWrapper.cpp index 0ec0050e6..0e437ef6d 100644 --- a/src/slic3r/GUI/ImGuiWrapper.cpp +++ b/src/slic3r/GUI/ImGuiWrapper.cpp @@ -138,11 +138,8 @@ bool ImGuiWrapper::update_key_data(wxKeyEvent &evt) io.KeyAlt = evt.AltDown(); io.KeySuper = evt.MetaDown(); - // XXX: Unfortunatelly this seems broken due to some interference with wxWidgets, - // we have to return true always (perform re-render). - // new_frame(); - // return want_keyboard() || want_text_input(); - return true; + new_frame(); + return want_keyboard() || want_text_input(); } } |