Commit e162eae8 authored by Roman Alifanov's avatar Roman Alifanov

fix ButtonWidget

parent 81c63701
......@@ -6,12 +6,9 @@ class ButtonWidget(BaseWidget):
def create_row(self):
self.row = Adw.ButtonRow(
title=self.setting.name,
subtitle=self.setting.help,
)
self.row.connect("activated", self._on_button_clicked)
self.row.add_suffix(self.button)
self.row.connect("activated", self._on_button_clicked)
return self.row
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment