Skip to content

Commit

Permalink
Initialize table cell on setup of device
Browse files Browse the repository at this point in the history
  • Loading branch information
emcek committed Mar 30, 2024
1 parent d0fc70d commit c3c1730
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dcspy/qt_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@ def _select_logi_dev(self, logi_dev: LogitechDeviceModel, state: bool) -> None:
self.current_row = -1
self.current_col = -1
self._load_table_gkeys()
self.current_row = 0
self.current_col = 0
cell_combo = self.tw_gkeys.cellWidget(self.current_row, self.current_col)
self._cell_ctrl_content_changed(text=cell_combo.currentText(), widget=cell_combo, row=self.current_row, col=self.current_col)

def _set_ded_font_and_font_sliders(self) -> None:
"""Enable DED font checkbox and updates font sliders."""
Expand Down

0 comments on commit c3c1730

Please sign in to comment.