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())
|
dropfilepath = unicode(urls[0].path())
|
||||||
else:
|
else:
|
||||||
dropfilepath = unicode(urls[0].path().replace("/", "\\"))[1:] # Removes starting slash
|
dropfilepath = unicode(urls[0].path().replace("/", "\\"))[1:] # Removes starting slash
|
||||||
self._syncplayClient._player.openFile(dropfilepath)
|
if rewindFile == False:
|
||||||
if rewindFile == True:
|
self._syncplayClient._player.openFile(dropfilepath)
|
||||||
|
else:
|
||||||
|
self._syncplayClient.setPosition(0)
|
||||||
|
self._syncplayClient._player.openFile(dropfilepath)
|
||||||
self._syncplayClient.setPosition(0)
|
self._syncplayClient.setPosition(0)
|
||||||
|
|
||||||
def saveSettings(self):
|
def saveSettings(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user