File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -251,16 +251,19 @@ def initUI(self, app):
251
251
252
252
saveAction = QtGui .QAction (QtGui .QIcon .fromTheme ('document-save' ),
253
253
'Save' , self )
254
+ exitAction .setShortcut ('Ctrl+S' )
254
255
saveAction .triggered .connect (self .saveResult )
255
256
toolbar .addAction (saveAction )
256
257
257
258
self .prevAction = QtGui .QAction (QtGui .QIcon .fromTheme ('go-previous' ),
258
259
'Previous' , self )
260
+ exitAction .setShortcut ('Ctrl+P' )
259
261
self .prevAction .triggered .connect (self ._prevFile )
260
262
toolbar .addAction (self .prevAction )
261
263
262
264
self .nextAction = QtGui .QAction (QtGui .QIcon .fromTheme ('go-next' ),
263
265
'Next' , self )
266
+ exitAction .setShortcut ('Ctrl+N' )
264
267
self .nextAction .triggered .connect (self ._nextFile )
265
268
toolbar .addAction (self .nextAction )
266
269
You can’t perform that action at this time.
0 commit comments