diff --git a/pysollib/tile/selectcardset.py b/pysollib/tile/selectcardset.py index 0e64d7c0..d538137e 100644 --- a/pysollib/tile/selectcardset.py +++ b/pysollib/tile/selectcardset.py @@ -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 diff --git a/pysollib/tile/selectgame.py b/pysollib/tile/selectgame.py index 33895e20..59ea735b 100644 --- a/pysollib/tile/selectgame.py +++ b/pysollib/tile/selectgame.py @@ -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 diff --git a/pysollib/tile/selecttile.py b/pysollib/tile/selecttile.py index dd315caf..6acf5275 100644 --- a/pysollib/tile/selecttile.py +++ b/pysollib/tile/selecttile.py @@ -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