Skip to content

Commit 98e95fc

Browse files
committed
chore:屏蔽菜单、改函数名
1 parent b91329f commit 98e95fc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/mineSweeperVideoPlayer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def play_video(self, video, new_tab=False):
133133
})
134134
# 调整窗口
135135
if (video.row, video.column) != (self.row, self.column):
136-
self.setBoard(video.row, video.column, video.mine_num)
136+
self.set_board_params(video.row, video.column, video.mine_num)
137137
self.label.paintProbability = False
138138
self.label.set_rcp(self.row, self.column, self.pixSize)
139139
# self.label.reloadCellPic(self.pixSize)

uiFiles/main_board.ui

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -702,8 +702,6 @@
702702
<property name="title">
703703
<string>查看</string>
704704
</property>
705-
<addaction name="action_level"/>
706-
<addaction name="action_best"/>
707705
<addaction name="action_open_replay"/>
708706
<addaction name="action_open_ini"/>
709707
</widget>
@@ -1008,7 +1006,7 @@
10081006
</action>
10091007
<action name="action_open_replay">
10101008
<property name="text">
1011-
<string>录像所在位置</string>
1009+
<string>录像目录</string>
10121010
</property>
10131011
<property name="font">
10141012
<font>
@@ -1025,7 +1023,7 @@
10251023
</action>
10261024
<action name="action_open_ini">
10271025
<property name="text">
1028-
<string>设置所在位置</string>
1026+
<string>设置目录</string>
10291027
</property>
10301028
<property name="font">
10311029
<font>

0 commit comments

Comments
 (0)