[Scummvm-git-logs] scummvm master -> 21ba2cffbb817f24d4b2a0d9378e239d9b0d5cb7

ccawley2011 noreply at scummvm.org
Mon May 30 21:04:26 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
21ba2cffbb DS: Avoid disabling the virtual keyboard if it hasn't been enabled


Commit: 21ba2cffbb817f24d4b2a0d9378e239d9b0d5cb7
    https://github.com/scummvm/scummvm/commit/21ba2cffbb817f24d4b2a0d9378e239d9b0d5cb7
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2022-05-30T22:04:21+01:00

Commit Message:
DS: Avoid disabling the virtual keyboard if it hasn't been enabled

Changed paths:
    backends/platform/ds/ds-graphics.cpp


diff --git a/backends/platform/ds/ds-graphics.cpp b/backends/platform/ds/ds-graphics.cpp
index 157407356e1..367362e5f30 100644
--- a/backends/platform/ds/ds-graphics.cpp
+++ b/backends/platform/ds/ds-graphics.cpp
@@ -218,7 +218,7 @@ void OSystem_DS::setFeatureState(Feature f, bool enable) {
 			}
 #endif
 			_keyboard->show();
-		} else {
+		} else if (_keyboard->isVisible()) {
 			_keyboard->hide();
 #ifdef DISABLE_TEXT_CONSOLE
 			_subScreen.reset();




More information about the Scummvm-git-logs mailing list