mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[view.qt.settings] fix: not re-enabling the action buttons when a validation error is displayed
This commit is contained in:
@@ -18,6 +18,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Arch
|
||||
- **wget** as a hard requirement for Arch package management
|
||||
|
||||
- UI
|
||||
- settings panel:
|
||||
- not re-enabling the action buttons when a validation error is displayed
|
||||
|
||||
### Improvements
|
||||
- General
|
||||
- useless code removed
|
||||
|
||||
@@ -133,6 +133,10 @@ class SettingsWindow(QWidget):
|
||||
msg.seek(0)
|
||||
dialog.show_message(title=self.i18n['warning'].capitalize(), body=msg.read(), type_=MessageType.WARNING)
|
||||
|
||||
self.tab_group.setEnabled(True)
|
||||
self.bt_change.setEnabled(True)
|
||||
self.bt_close.setEnabled(True)
|
||||
|
||||
def _reload_manage_panel(self):
|
||||
if self.window and self.window.isVisible():
|
||||
self.window.reload()
|
||||
|
||||
Reference in New Issue
Block a user