change menu text

pull/111/head
Mikael Finstad 8 years ago
parent 461e909e47
commit 75839487b0

@ -41,7 +41,7 @@ module.exports = (app, mainWindow, newVersion) => {
},
},
{
label: 'Set custom start time offset',
label: 'Set custom start offset/timecode',
click() {
mainWindow.webContents.send('set-start-offset', true);
},

@ -174,10 +174,7 @@ class App extends React.Component {
startTimeOffsetOld !== undefined ? formatDuration(startTimeOffsetOld) : undefined,
);
if (startTimeOffset === undefined) {
console.log('Cancelled');
return;
}
if (startTimeOffset === undefined) return;
this.setState({ startTimeOffset });
});

@ -83,7 +83,7 @@ function setFileNameTitle(filePath) {
async function promptTimeOffset(inputValue) {
const { value } = await swal.fire({
title: 'Set custom start time offset',
text: 'Instead of video apparently starting at 0, you can offset by a specified value (useful for timecodes)',
text: 'Instead of video apparently starting at 0, you can offset by a specified value (useful for viewing/cutting videos according to timecodes)',
input: 'text',
inputValue: inputValue || '',
showCancelButton: true,

Loading…
Cancel
Save