diff --git a/ankiqt/ui/getshared.py b/ankiqt/ui/getshared.py index e259afddc..234361487 100644 --- a/ankiqt/ui/getshared.py +++ b/ankiqt/ui/getshared.py @@ -181,7 +181,6 @@ class GetShared(QDialog): self.form.table.horizontalHeader().setResizeMode( 0, QHeaderView.Stretch) self.form.table.verticalHeader().hide() - self.form.table.setSelectionBehavior(QAbstractItemView.SelectRows) def accept(self): if self.type == 0: diff --git a/designer/getshared.ui b/designer/getshared.ui index 884084485..d61423c62 100644 --- a/designer/getshared.ui +++ b/designer/getshared.ui @@ -1,7 +1,8 @@ - + + Dialog - - + + 0 0 @@ -9,55 +10,67 @@ 598 - + - + - - + + Search: - + - - + + Qt::Vertical - - - + + + 0 1 + + true + + + QAbstractItemView::SingleSelection + + + QAbstractItemView::SelectRows + + + false + - - - + + + 0 3 - + QFrame::StyledPanel - + QFrame::Plain - + Qt::ScrollBarAsNeeded - + Qt::ScrollBarAlwaysOff - - + + 0 0 @@ -65,34 +78,34 @@ 54 - - + + 0 0 - + - - - + + + 0 0 - + 500 16777215 - + Loading... - + true - + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse @@ -103,11 +116,11 @@ - - + + Qt::Horizontal - + QDialogButtonBox::Cancel|QDialogButtonBox::Ok @@ -122,11 +135,11 @@ Dialog accept() - + 248 254 - + 157 274 @@ -138,11 +151,11 @@ Dialog reject() - + 316 260 - + 286 274