fix ctrl + s
This commit is contained in:
parent
b8dc68cbae
commit
7e3c842f6a
|
|
@ -375,13 +375,13 @@ namespace HeavenStudio.Editor
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (saveAs == true)
|
if (saveAs)
|
||||||
{
|
{
|
||||||
SaveRemixFilePanel();
|
SaveRemixFilePanel();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (currentRemixPath == string.Empty || currentRemixPath == null)
|
if (currentRemixPath is "" or null)
|
||||||
{
|
{
|
||||||
SaveRemixFilePanel();
|
SaveRemixFilePanel();
|
||||||
}
|
}
|
||||||
|
|
@ -405,6 +405,7 @@ namespace HeavenStudio.Editor
|
||||||
if (path != String.Empty)
|
if (path != String.Empty)
|
||||||
{
|
{
|
||||||
SaveRemixFile(path);
|
SaveRemixFile(path);
|
||||||
|
currentRemixPath = path;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue