Skip to content

Commit

Permalink
fix launching
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Nov 27, 2024
1 parent 2ea5225 commit e1b1d21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ui/ProcessTab.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ def populateModels(self, backend) -> dict:
self.parent.upscaleModelComboBox.addItems(['None'] + list(upscaleModels.keys()))
if not self.gmfssSupport:
# Disable specific options based on the selected text
for i in range(self.parent.modelComboBox.count()):
for i in range(self.parent.interpolateModelComboBox.count()):
if (
"GMFSS" in self.parent.modelComboBox.itemText(i)
"GMFSS" in self.parent.interpolateModelComboBox.itemText(i)
): # hacky solution, just straight copy pasted
self.parent.modelComboBox.model().item(i).setEnabled(
self.parent.interpolateModelComboBox.model().item(i).setEnabled(
self.gmfssSupport
)

Expand Down

0 comments on commit e1b1d21

Please sign in to comment.