mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-12-16 02:55:44 +00:00
Update Machine.cs
This commit is contained in:
parent
5045fa757c
commit
1d484f17ad
1 changed files with 2 additions and 0 deletions
|
|
@ -104,6 +104,8 @@ public class Machine : IPlugin
|
||||||
{
|
{
|
||||||
var newTitle = L.CheckString(1);
|
var newTitle = L.CheckString(1);
|
||||||
|
|
||||||
|
L.ArgumentCheck(!string.IsNullOrEmpty(newTitle), 1, "string must not be empty");
|
||||||
|
|
||||||
Capy64.Instance.Window.Title = newTitle;
|
Capy64.Instance.Window.Title = newTitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue