mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
[ci] auto-format
This commit is contained in:
parent
6242ba4f59
commit
6569a037b7
1 changed files with 11 additions and 5 deletions
|
|
@ -48,11 +48,16 @@ loop = babase._asyncio._asyncio_event_loop
|
||||||
|
|
||||||
open_popups = []
|
open_popups = []
|
||||||
|
|
||||||
|
|
||||||
def _add_popup(popup): open_popups.append(popup)
|
def _add_popup(popup): open_popups.append(popup)
|
||||||
|
|
||||||
|
|
||||||
def _remove_popup(popup):
|
def _remove_popup(popup):
|
||||||
try: open_popups.remove(popup)
|
try:
|
||||||
except ValueError: pass
|
open_popups.remove(popup)
|
||||||
|
except ValueError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def _uiscale(): return bui.app.ui_v1.uiscale
|
def _uiscale(): return bui.app.ui_v1.uiscale
|
||||||
def _regexp_friendly_class_name_shortcut(string): return string.replace(".", "\\.")
|
def _regexp_friendly_class_name_shortcut(string): return string.replace(".", "\\.")
|
||||||
|
|
@ -1953,7 +1958,8 @@ class PluginManagerWindow(bui.MainWindow):
|
||||||
for popup in open_popups:
|
for popup in open_popups:
|
||||||
try:
|
try:
|
||||||
bui.containerwidget(edit=popup._root_widget, transition='out_scale')
|
bui.containerwidget(edit=popup._root_widget, transition='out_scale')
|
||||||
except: pass
|
except:
|
||||||
|
pass
|
||||||
cls = type(self)
|
cls = type(self)
|
||||||
return bui.BasicMainWindowState(
|
return bui.BasicMainWindowState(
|
||||||
create_call=lambda transition, origin_widget: cls(
|
create_call=lambda transition, origin_widget: cls(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue