Fix AutoLobby visual bug

This commit is contained in:
Oskar Nordling 2019-08-21 07:41:04 +02:00
parent e94e2ed8e2
commit 4950376727
Signed by: oskar3123
GPG Key ID: 497688E918285A5C
3 changed files with 11 additions and 5 deletions

View File

@ -51,5 +51,5 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.1.1.0")]
[assembly: AssemblyFileVersion("1.1.1.0")]

View File

@ -155,7 +155,11 @@ namespace GTAOnlineCasinoHelper.Views
await MainWindow.Instance.ShowMessageAsync("GTA V is already suspended", $"GTA V ({ProcessName}.exe) is already suspended");
return;
}
SuspendGTA();
if (!SuspendGTA())
{
await MainWindow.Instance.ShowMessageAsync("GTA V is not running", $"GTA V ({ProcessName}.exe) is not running");
return;
}
TextBlock_Status.Text = "Suspended";
}

View File

@ -6,6 +6,8 @@
## Screenshots
![Main Window](http://git.oskar3123.eu:8880/screens/461590f8-b8f3-4911-b103-aa1e72ce9062.png)
![Main Window - LuckyWheel](http://git.oskar3123.eu:8880/screens/1a369870-7296-444d-8bd2-6228cf7bd1ec.png)
![Settings Window](http://git.oskar3123.eu:8880/screens/2ea0d012-8750-495f-a8f7-922336b9e761.png)
![Main Window - AutoLobby](http://git.oskar3123.eu:8880/screens/28009fbd-143d-4cd3-94bf-168e9f38e72c.png)
![Settings Window](http://git.oskar3123.eu:8880/screens/a2bec92b-666f-486d-9b74-77a463860858.png)