Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
柴进
/
GoogleNanoBananaApp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
932fb58c
authored
2026-02-28 11:52:27 +0800
by
柴进
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
处理mac打包后粘贴图片缩略图不可见的问题
1 parent
b3174d37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
image_generator.py
image_generator.py
View file @
932fb58
...
...
@@ -1941,11 +1941,12 @@ class ImageGeneratorWindow(QMainWindow):
if
success
and
temp_file_path
.
exists
():
self
.
uploaded_images
.
append
(
str
(
temp_file_path
))
self
.
update_image_preview
()
self
.
image_count_label
.
setText
(
f
"已选择 {len(self.uploaded_images)} 张"
)
self
.
status_label
.
setText
(
"● 已添加剪贴板图片"
)
self
.
status_label
.
setStyleSheet
(
"QLabel { color: #34C759; }"
)
self
.
logger
.
info
(
f
"剪贴板图片已成功保存到: {temp_file_path}"
)
# 延迟到下一个事件循环刷新预览,避免 macOS 剪贴板上下文阻塞 UI 更新
QTimer
.
singleShot
(
0
,
self
.
update_image_preview
)
# 检查极速模式下的多图限制
# self.check_multi_image_mode_conflict()
...
...
Please
register
or
sign in
to post a comment