Skip to content

Commit

Permalink
Merge branch 'UI-rework'
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor-IX committed Aug 11, 2024
2 parents 4461ac1 + 743e3fd commit 4d2c254
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
11 changes: 2 additions & 9 deletions source/widgets/settings_window/settings_group.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
from __future__ import annotations

from modules.icons import Icons
from PyQt5.QtCore import QSize, Qt, pyqtSignal, pyqtSlot
from PyQt5.QtNetwork import QLocalServer
from PyQt5.QtCore import pyqtSignal, pyqtSlot

from PyQt5.QtWidgets import (
QAction,
QApplication,
QCheckBox,
QFrame,
QGridLayout,
QHBoxLayout,
QLabel,
QLayout,
QPushButton,
QStatusBar,
QSystemTrayIcon,
QTabWidget,
QVBoxLayout,
QWidget,
)

Expand Down
4 changes: 2 additions & 2 deletions source/windows/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def draw(self, polish=False):
self.UserTabLayout = QVBoxLayout()
self.UserTabLayout.setContentsMargins(0, 0, 0, 0)
self.UserTab.setLayout(self.UserTabLayout)
self.TabWidget.addTab(self.UserTab, "User")
self.TabWidget.addTab(self.UserTab, "Favorites")

self.LibraryToolBox = BaseToolBoxWidget(self)
self.DownloadsToolBox = BaseToolBoxWidget(self)
Expand Down Expand Up @@ -383,7 +383,7 @@ def draw(self, polish=False):
show_reload=True,
extended_selection=True,
)
self.UserCustomListWidget = self.UserToolBox.add_page_widget(self.UserCustomPageWidget, "Custom")
self.UserCustomListWidget = self.LibraryToolBox.add_page_widget(self.UserCustomPageWidget, "Custom")

self.TabWidget.setCurrentIndex(get_default_tab())
self.LibraryToolBox.setCurrentIndex(get_default_library_page())
Expand Down

0 comments on commit 4d2c254

Please sign in to comment.