Set position earlier on drag rewind
This commit is contained in:
parent
6b80c49439
commit
77b5c735fa
@ -406,8 +406,11 @@ class MainWindow(QtGui.QMainWindow):
|
||||
dropfilepath = unicode(urls[0].path())
|
||||
else:
|
||||
dropfilepath = unicode(urls[0].path().replace("/", "\\"))[1:] # Removes starting slash
|
||||
if rewindFile == False:
|
||||
self._syncplayClient._player.openFile(dropfilepath)
|
||||
else:
|
||||
self._syncplayClient.setPosition(0)
|
||||
self._syncplayClient._player.openFile(dropfilepath)
|
||||
if rewindFile == True:
|
||||
self._syncplayClient.setPosition(0)
|
||||
|
||||
def saveSettings(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user