Skip to content

Commit f56a422

Browse files
committed
Fixed small model bug.
1 parent aab12d4 commit f56a422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imagecolorpicker/mainwindow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def copy(self: Self) -> None:
6969

7070
# Single color entries
7171
if self.copyComboBox.currentIndex() <= 8:
72-
clipboard.setText(self._codeModel.data(self._codeModel.index(2, self.copyComboBox.currentIndex())))
72+
clipboard.setText(self._codeModel.data(self._codeModel.index(self.copyComboBox.currentIndex(), 2)))
7373

7474
# Gradient entries
7575
if self.copyComboBox.currentIndex() == 9:

0 commit comments

Comments
 (0)