Compare commits

...

3 Commits

Author SHA1 Message Date
3e2ed1cff5 fixed frame deletion 2025-08-02 19:08:45 +06:00
a18c4684a7 updated changelog to 0.5.2 2025-08-01 13:29:33 +03:00
0cca7b441d dropped patch from winehelper.desktop 2025-08-01 13:28:03 +03:00
3 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,8 @@
История изменений: История изменений:
0.5.2:
* исправлен запуск winehelper.desktop для winehelper-qt
0.5.1: 0.5.1:
* добавлена функция извлечения иконки из .exe файлов * добавлена функция извлечения иконки из .exe файлов
* добавлен вывод истории изменений командой: winehelper --changelog * добавлен вывод истории изменений командой: winehelper --changelog

View File

@ -6,5 +6,4 @@ Comment[ru]=Запуск графического интерфейса WineHelpe
Type=Application Type=Application
Categories=WineHelper;Utility;Emulator; Categories=WineHelper;Utility;Emulator;
StartupNotify=true StartupNotify=true
Path=/usr/bin/winehelper
Icon=winehelper Icon=winehelper

View File

@ -685,9 +685,12 @@ class WineHelperGUI(QMainWindow):
if self.current_active_button in self.installed_buttons: if self.current_active_button in self.installed_buttons:
self.current_active_button = None self.current_active_button = None
# Очистить существующие кнопки # Полностью очищаем layout перед обновлением, удаляя старые виджеты (рамки с кнопками)
for btn in self.installed_buttons: while self.installed_scroll_layout.count():
btn.deleteLater() item = self.installed_scroll_layout.takeAt(0)
widget = item.widget()
if widget:
widget.deleteLater()
self.installed_buttons.clear() self.installed_buttons.clear()
if not os.path.exists(Var.USER_WORK_PATH): if not os.path.exists(Var.USER_WORK_PATH):