1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Blocked typing into advanced search dropdowns.

This commit is contained in:
Joe R 2022-09-16 23:28:09 -04:00
parent a39251f5a5
commit 3451b6b113
3 changed files with 17 additions and 15 deletions

View file

@ -782,7 +782,7 @@ class SelectCardsetAdvancedSearch(MfxDialog):
labelSize.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textSize = PysolCombo(top_frame, values=sizeValues,
textvariable=self.size)
textvariable=self.size, state='readonly')
textSize.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1
@ -794,7 +794,7 @@ class SelectCardsetAdvancedSearch(MfxDialog):
labelType.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textType = PysolCombo(top_frame, values=typeValues,
textvariable=self.type)
textvariable=self.type, state='readonly')
textType.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1
@ -806,7 +806,7 @@ class SelectCardsetAdvancedSearch(MfxDialog):
labelStyle.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textStyle = PysolCombo(top_frame, values=styleValues,
textvariable=self.style)
textvariable=self.style, state='readonly')
textStyle.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1
@ -818,7 +818,7 @@ class SelectCardsetAdvancedSearch(MfxDialog):
labelDate.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textDate = PysolCombo(top_frame, values=dateValues,
textvariable=self.date)
textvariable=self.date, state='readonly')
textDate.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1
@ -831,7 +831,8 @@ class SelectCardsetAdvancedSearch(MfxDialog):
labelNationality.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textNationality = PysolCombo(top_frame, values=natValues,
textvariable=self.nationality)
textvariable=self.nationality,
state='readonly')
textNationality.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1

View file

@ -951,7 +951,7 @@ class SelectGameAdvancedSearch(MfxDialog):
labelCategory.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textCategory = PysolCombo(top_frame, values=categoryValues,
textvariable=self.category)
textvariable=self.category, state='readonly')
textCategory.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1
@ -963,7 +963,7 @@ class SelectGameAdvancedSearch(MfxDialog):
labelType.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textType = PysolCombo(top_frame, values=typeValues,
textvariable=self.type)
textvariable=self.type, state='readonly')
textType.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1
@ -974,7 +974,7 @@ class SelectGameAdvancedSearch(MfxDialog):
labelSkill.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textSkill = PysolCombo(top_frame, values=skillValues,
textvariable=self.skill)
textvariable=self.skill, state='readonly')
textSkill.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1
@ -985,7 +985,7 @@ class SelectGameAdvancedSearch(MfxDialog):
labelDecks.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textDecks = PysolCombo(top_frame, values=deckValues,
textvariable=self.decks)
textvariable=self.decks, state='readonly')
textDecks.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1
@ -996,7 +996,7 @@ class SelectGameAdvancedSearch(MfxDialog):
labelRedeals.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textRedeals = PysolCombo(top_frame, values=redealValues,
textvariable=self.redeals)
textvariable=self.redeals, state='readonly')
textRedeals.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1
@ -1011,7 +1011,7 @@ class SelectGameAdvancedSearch(MfxDialog):
labelCompat.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textCompat = PysolCombo(top_frame, values=compatValues,
textvariable=self.compat)
textvariable=self.compat, state='readonly')
textCompat.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1
@ -1025,7 +1025,7 @@ class SelectGameAdvancedSearch(MfxDialog):
labelInventor.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textInventor = PysolCombo(top_frame, values=inventorValues,
textvariable=self.inventor)
textvariable=self.inventor, state='readonly')
textInventor.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1
@ -1041,11 +1041,12 @@ class SelectGameAdvancedSearch(MfxDialog):
labelVersion.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textVersionCompare = PysolCombo(top_frame, values=versionCompareValues,
textvariable=self.versioncompare)
textvariable=self.versioncompare,
state='readonly')
textVersionCompare.grid(row=row, column=1, columnspan=2, sticky='ew',
padx=1, pady=1)
textVersion = PysolCombo(top_frame, values=versionValues,
textvariable=self.version)
textvariable=self.version, state='readonly')
textVersion.grid(row=row, column=3, columnspan=2, sticky='ew',
padx=1, pady=1)
row += 1

View file

@ -373,7 +373,7 @@ class SelectTileAdvancedSearch(MfxDialog):
labelType.grid(row=row, column=0, columnspan=1, sticky='ew',
padx=1, pady=1)
textType = PysolCombo(top_frame, values=typeValues,
textvariable=self.type)
textvariable=self.type, state='readonly')
textType.grid(row=row, column=1, columnspan=4, sticky='ew',
padx=1, pady=1)
row += 1