[Scummvm-git-logs] scummvm master -> 711b17826e2405be8b6235da730f852c4954b242

sev- noreply at scummvm.org
Thu May 30 22:57:21 UTC 2024


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:
711b17826e DIRECTOR: DEBUGGER: Better usability for the Watched Vars window


Commit: 711b17826e2405be8b6235da730f852c4954b242
    https://github.com/scummvm/scummvm/commit/711b17826e2405be8b6235da730f852c4954b242
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-05-31T00:56:44+02:00

Commit Message:
DIRECTOR: DEBUGGER: Better usability for the Watched Vars window

Changed paths:
    engines/director/debugtools.cpp


diff --git a/engines/director/debugtools.cpp b/engines/director/debugtools.cpp
index 6ef6aa7cfe6..e37bfa62994 100644
--- a/engines/director/debugtools.cpp
+++ b/engines/director/debugtools.cpp
@@ -3498,6 +3498,9 @@ static void showWatchedVars() {
 			ImGui::SameLine();
 			ImGui::Text(" - [%s] %s", val.type2str(), formatStringForDump(val.asString(true)).c_str());
 		}
+
+		if (_state->_variables.empty())
+			ImGui::Text("(no watched variables)");
 	}
 	ImGui::End();
 }




More information about the Scummvm-git-logs mailing list