Skip to content

Commit 658c693

Browse files
committed
Check clipboard if active window only
1 parent c940a06 commit 658c693

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gcodeworkshop/src/gcodeworkshop.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -3619,6 +3619,10 @@ void GCodeWorkShop::clipboardChanged()
36193619
QFont font;
36203620
bool notFound = true;
36213621

3622+
if (!isActiveWindow()) {
3623+
return;
3624+
}
3625+
36223626
updateMenus();
36233627

36243628
QString text = clipboard->text();

0 commit comments

Comments
 (0)