Use ShowErrorMessage for invalid offset value

This commit is contained in:
Etoh 2014-03-26 01:38:43 +00:00
parent a0b287999b
commit bbcf9bac1e

View File

@ -211,7 +211,7 @@ class MainWindow(QtGui.QMainWindow):
t = self._syncplayClient.getUserOffset() + sign * t
self._syncplayClient.setUserOffset(t)
else:
self.showMessage("Invalid offset value", True)
self.showErrorMessage("Invalid offset value")
def openUserGuide(self):
if sys.platform.startswith('linux'):