From 26b08980e9ff8cad8c04a0063519423957717c88 Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Thu, 31 Aug 2023 22:52:51 +0200 Subject: [PATCH] Update Utilities.vb --- RPST GUI/RPST/Utilities.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RPST GUI/RPST/Utilities.vb b/RPST GUI/RPST/Utilities.vb index a96108b..80347ce 100644 --- a/RPST GUI/RPST/Utilities.vb +++ b/RPST GUI/RPST/Utilities.vb @@ -29,7 +29,7 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "License Agreement", MessageBoxButtons.YesNo, MessageBoxIcon.Information) +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "License Agreement", MessageBoxButtons.OKCancel, MessageBoxIcon.Information) Return result End Function @@ -176,7 +176,7 @@ First launched on: {DateTime.Now}" If Not File.Exists(filePath) Then Dim result As DialogResult = LicenseAgreement() - If result = DialogResult.Yes Then + If result = DialogResult.OK Then File.WriteAllText(filePath, textToWrite) Else FormMain.Close()