Add ^N to set next track
This commit is contained in:
parent
453fe87bf9
commit
0c67ba7b3e
@ -129,6 +129,7 @@ class Window(QMainWindow, Ui_MainWindow):
|
|||||||
self.actionOpenPlaylist.triggered.connect(self.open_playlist)
|
self.actionOpenPlaylist.triggered.connect(self.open_playlist)
|
||||||
self.actionPlay_next.triggered.connect(self.play_next)
|
self.actionPlay_next.triggered.connect(self.play_next)
|
||||||
self.actionSearch_database.triggered.connect(self.search_database)
|
self.actionSearch_database.triggered.connect(self.search_database)
|
||||||
|
self.actionSetNext.triggered.connect(self.set_next_track)
|
||||||
self.actionSkip_next.triggered.connect(self.play_next)
|
self.actionSkip_next.triggered.connect(self.play_next)
|
||||||
self.actionSkipToEnd.triggered.connect(self.test_skip_to_end)
|
self.actionSkipToEnd.triggered.connect(self.test_skip_to_end)
|
||||||
self.actionSkipToFade.triggered.connect(self.test_skip_to_fade)
|
self.actionSkipToFade.triggered.connect(self.test_skip_to_fade)
|
||||||
|
|||||||
@ -770,6 +770,8 @@ border: 1px solid rgb(85, 87, 83);</string>
|
|||||||
<addaction name="actionFade"/>
|
<addaction name="actionFade"/>
|
||||||
<addaction name="actionS_top"/>
|
<addaction name="actionS_top"/>
|
||||||
<addaction name="action_Resume_previous"/>
|
<addaction name="action_Resume_previous"/>
|
||||||
|
<addaction name="separator"/>
|
||||||
|
<addaction name="actionSetNext"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuTest">
|
<widget class="QMenu" name="menuTest">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
@ -948,6 +950,14 @@ border: 1px solid rgb(85, 87, 83);</string>
|
|||||||
<string>E&xport playlist...</string>
|
<string>E&xport playlist...</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionSetNext">
|
||||||
|
<property name="text">
|
||||||
|
<string>Set &next</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+N</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="icons.qrc"/>
|
<include location="icons.qrc"/>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user