Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
fonol committed Nov 8, 2020
1 parent f170596 commit 1fea76e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/dialogs/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,19 +1029,7 @@ def set_remove_btns(self, priority_list):
for r in range(len(priority_list)):
rem_btn = QToolButton()
rem_btn.setText(" - ")
# if self.parent.dark_mode_used:
# rem_btn.setStyleSheet("border: 1px solid darkgrey; border-style: outset; font-size: 10px; background: #313233; color: white; margin: 0px; padding: 2px 3px;")
# else:
# rem_btn.setStyleSheet("border: 1px solid black; border-style: outset; font-size: 10px; background: white; color: black; margin: 0px; padding: 2px 3px;")
# rem_btn.setCursor(Qt.PointingHandCursor)
# rem_btn.setMinimumHeight(18)
rem_btn.clicked.connect(functools.partial(self.on_remove_clicked, priority_list[r].id))

# h_l = QHBoxLayout()
# h_l.addWidget(rem_btn)
# cell_widget = QWidget()
# cell_widget.setLayout(h_l)
# self.t_view.setCellWidget(r, 2, rem_btn)
self.t_view.setIndexWidget(self.t_view.model().index(r,2), rem_btn)

def on_shuffle_btn_clicked(self):
Expand Down

0 comments on commit 1fea76e

Please sign in to comment.