prepare for new version
This commit is contained in:
+1
-1
@@ -336,7 +336,7 @@ class ProjectManager:
|
||||
|
||||
has_data = any(len(getattr(app, item["key"], {})) > 0 for item in DATA_SCHEMA)
|
||||
if hasattr(app, "button1"):
|
||||
app.button1.setVisible(not has_data)
|
||||
app.button1.setVisible(has_data)
|
||||
if hasattr(app, "button3"):
|
||||
app.button3.setVisible(has_data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user