Skip to content

Commit 52f9b73

Browse files
committed
Fix menu action checkable of zh language
1 parent f35cfe3 commit 52f9b73

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

omodsim/mainwindow.ui

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</rect>
1212
</property>
1313
<property name="contextMenuPolicy">
14-
<enum>Qt::NoContextMenu</enum>
14+
<enum>Qt::ContextMenuPolicy::NoContextMenu</enum>
1515
</property>
1616
<property name="windowTitle">
1717
<string>Open ModSim</string>
@@ -992,10 +992,13 @@
992992
<string>ANSI</string>
993993
</property>
994994
<property name="menuRole">
995-
<enum>QAction::NoRole</enum>
995+
<enum>QAction::MenuRole::NoRole</enum>
996996
</property>
997997
</action>
998998
<action name="actionChineseZh">
999+
<property name="checkable">
1000+
<bool>true</bool>
1001+
</property>
9991002
<property name="text">
10001003
<string notr="true">中國人</string>
10011004
</property>

0 commit comments

Comments
 (0)