UI: only show chapter button when chapter info available

This commit is contained in:
2025-07-21 00:03:26 +08:00
parent 094a83512e
commit af38103c0d
2 changed files with 10 additions and 5 deletions

View File

@ -714,7 +714,7 @@ QHeaderView {
<string>About</string>
</property>
<property name="shortcut">
<string>F1</string>
<string notr="true">F1</string>
</property>
<property name="menuRole">
<enum>QAction::AboutRole</enum>
@ -728,7 +728,7 @@ QHeaderView {
<string>Open</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
<string notr="true">Ctrl+O</string>
</property>
<property name="menuRole">
<enum>QAction::NoRole</enum>