From be57b70993020a1961598512004fbb8d1a6f8c81 Mon Sep 17 00:00:00 2001 From: kochi Date: Thu, 6 Aug 2020 23:44:58 +0900 Subject: [PATCH] =?UTF-8?q?#346=20=E4=BD=9C=E6=88=90=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=BC=E3=83=88=E3=82=AB=E3=83=83=E3=83=88?= =?UTF-8?q?=E3=81=AE=E7=A8=AE=E9=A1=9E=E3=81=AB=E5=BF=9C=E3=81=98=E3=81=A6?= =?UTF-8?q?=E5=88=A9=E7=94=A8=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=84=E9=A0=85?= =?UTF-8?q?=E7=9B=AE=E3=82=92=E3=83=93=E3=83=A5=E3=83=BC=E3=81=A7=E3=83=96?= =?UTF-8?q?=E3=83=AD=E3=83=83=E3=82=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/makeShortcut.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/views/makeShortcut.py b/views/makeShortcut.py index 400fc9f..2ee7f72 100644 --- a/views/makeShortcut.py +++ b/views/makeShortcut.py @@ -88,9 +88,17 @@ def GetData(self): #作成するショートカットタイプの変更 def typeChangeEvent(self,event): - if (event.GetInt()==self.TYPE_HARDLINK): + if event.GetInt()==self.TYPE_HARDLINK: #ハードリンクに絶対・相対の選択はない self.linkType.Disable() else: #ハードリンク以外であれば絶対・相対の選択がある self.linkType.Enable() + + #パラメータとディレクトリの指定はlnkだけ + if event.GetInt()==self.TYPE_LNK: + self.parameter.Enable() + self.directory.Enable() + else: + self.parameter.Disable() + self.directory.Disable()