mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
fix project combobox refresh
This commit is contained in:
parent
d08fbcc02f
commit
b8e500cb68
1 changed files with 1 additions and 4 deletions
|
|
@ -81,10 +81,7 @@ class Window(QtWidgets.QWidget):
|
|||
if current_project:
|
||||
row = self.project_combobox.findText(current_project)
|
||||
if row >= 0:
|
||||
self._set_project(current_project)
|
||||
index = self.project_combobox.model().index(row, 0)
|
||||
self.project_combobox.setCurrentIndex(index)
|
||||
return
|
||||
self.project_combobox.setCurrentIndex(row)
|
||||
|
||||
self._set_project(self.project_combobox.currentText())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue