From bd2998b662c4a33833c19405a68f3017baa2e934 Mon Sep 17 00:00:00 2001 From: foxkerik6 Date: Tue, 29 Nov 2022 04:45:44 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=84=D0=B8=D0=BB=D1=8C=D1=82=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Stormtrooper/Stormtrooper/FormMapWithSetAirplane.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Stormtrooper/Stormtrooper/FormMapWithSetAirplane.cs b/Stormtrooper/Stormtrooper/FormMapWithSetAirplane.cs index 117782f..991a017 100644 --- a/Stormtrooper/Stormtrooper/FormMapWithSetAirplane.cs +++ b/Stormtrooper/Stormtrooper/FormMapWithSetAirplane.cs @@ -28,6 +28,8 @@ namespace Stormtrooper public FormMapWithSetAirplane() { InitializeComponent(); + openFileDialog.Filter = "Text files(*.txt)|*.txt"; + saveFileDialog.Filter = "Text files(*.txt)|*.txt"; _mapCollection = new MapCollection(pictureBox.Width, pictureBox.Height); comboBoxMapSelector.Items.Clear(); foreach(var map in _mapsDict)