Skip to content

Commit 0c414b4

Browse files
v1.1
Fixed display misleading
1 parent bbd01dd commit 0c414b4

File tree

4 files changed

+2
-1
lines changed

4 files changed

+2
-1
lines changed
512 Bytes
Binary file not shown.

GUI Redis.unitypackage

-1.16 MB
Binary file not shown.

Source Code/GUI_Redis/RedisWindow.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ void OnGUI()
129129
{
130130
CurrentValue = "";
131131
CurrentKey = "";
132+
SelectedKey = "";
132133
this.Repaint();
133134
}
134135
GUILayout.Space(10);
@@ -182,7 +183,7 @@ void OnGUI()
182183
GUILayout.EndScrollView();
183184
GUILayout.Space(10);
184185
GUILayout.BeginHorizontal();
185-
if (CurrentKey != "" && CurrentValue != "")
186+
if (CurrentKey != "" && CurrentValue != "" && SelectedKey!= "")
186187
{
187188
if (GUILayout.Button("保存"))
188189
{

Unity-GUI-Redis.unitypackage

1.16 MB
Binary file not shown.

0 commit comments

Comments
 (0)