Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erreur si suppression de lignes dans une table vide #3

Open
jnsebgosselin opened this issue Apr 19, 2023 · 0 comments
Open

Erreur si suppression de lignes dans une table vide #3

jnsebgosselin opened this issue Apr 19, 2023 · 0 comments
Assignees
Milestone

Comments

@jnsebgosselin
Copy link
Member

Description

Cliquer sur le bouton pour supprimer une ou des lignes dans un table vide.

Informations système

Sardes 0.12.2
Python 3.8.10 64-bit
Qt 5.15.2
PyQt5 5.15.7
Windows 10

Trace d'appels

Traceback (most recent call last):
  File "D:\Projets\sardes\sardes\widgets\tableviews.py", line 1594, in _delete_selected_rows
    self.model().delete_row(rows)
  File "D:\Projets\sardes\sardes\api\tablemodels.py", line 1036, in delete_row
    return self.sourceModel().delete_row(
  File "D:\Projets\sardes\sardes\api\tablemodels.py", line 751, in delete_row
    self.edits_controller.execute(edit)
  File "D:\Projets\sardes\sardes\api\tableedits.py", line 81, in execute
    edit.execute()
  File "D:\Projets\sardes\sardes\api\tablemodels.py", line 256, in execute
    self.parent.index(self.row.min(), 0),
TypeError: index(self, int, int, parent: QModelIndex = QModelIndex()): argument 1 has unexpected type 'float'
@jnsebgosselin jnsebgosselin added this to the 1.0.0 milestone Apr 19, 2023
@jnsebgosselin jnsebgosselin self-assigned this Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant