Skip to content

Commit 91cc1b2

Browse files
committed
set WM_CLASS property
1 parent 65919fc commit 91cc1b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pypeec/lib_plot/manage_plotgui.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ def __init__(self, plot_mode, folder, name):
7474
import qtpy.QtWidgets
7575

7676
# create and assign a single instance
77-
APPQT = qtpy.QtWidgets.QApplication([])
77+
APPQT = qtpy.QtWidgets.QApplication(["pypeec"])
78+
APPQT.setApplicationDisplayName("pypeec")
79+
APPQT.setApplicationName("pypeec")
80+
APPQT.setOrganizationName("pypeec")
7881

7982
# set the icon
8083
filename = importlib.resources.files("pypeec.data").joinpath("pypeec.png")

0 commit comments

Comments
 (0)