From 53f43f064b8b03da97c26635c1b547ef54a7cff3 Mon Sep 17 00:00:00 2001 From: alec-hs Date: Wed, 13 Jun 2018 13:06:43 +0100 Subject: [PATCH] Simplified Selecting of Server File Made server file auto fill when first creating a new server tab. Also made default location for file picker match the server path from main tab. --- Flax's-Arma-Server-Tool/NewServerTab.vb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Flax's-Arma-Server-Tool/NewServerTab.vb b/Flax's-Arma-Server-Tool/NewServerTab.vb index c50a1e5..37d2a3e 100644 --- a/Flax's-Arma-Server-Tool/NewServerTab.vb +++ b/Flax's-Arma-Server-Tool/NewServerTab.vb @@ -23,6 +23,10 @@ Public Class NewServerTab difficultyCombo.SelectedItem = "Regular" End If + If serverFileBox.Text = Nothing Then + serverFileBox.Text = My.Settings.serverDir & "\arma3server.exe" + End If + UpdateModsList() UpdateMissionsList() @@ -173,6 +177,7 @@ Public Class NewServerTab End Sub Public Sub ChooseServerFile() + serverFileDialog.InitialDirectory = My.Settings.serverDir If serverFileDialog.ShowDialog() = DialogResult.OK Then serverFileBox.Text = serverFileDialog.FileName End If