auto-sync
This commit is contained in:
parent
8e85ee8945
commit
145ce0ac63
|
@ -34,7 +34,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
|
|||
* @see com.rusefi.StartupFrame
|
||||
*/
|
||||
public class Launcher {
|
||||
public static final int CONSOLE_VERSION = 20150311;
|
||||
public static final int CONSOLE_VERSION = 20150312;
|
||||
public static final boolean SHOW_STIMULATOR = false;
|
||||
public static final String TAB_INDEX = "main_tab";
|
||||
private final String port;
|
||||
|
|
|
@ -16,8 +16,8 @@ public class EraseChip extends ProcessStatusWindow {
|
|||
button.addActionListener(new AbstractAction() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
int dialogResult = JOptionPane.showConfirmDialog(button, "Do you really want to reset stm32 chip and all settings?",
|
||||
"Are you sure?", JOptionPane.YES_NO_OPTION);
|
||||
int dialogResult = JOptionPane.showConfirmDialog(button, "Do you really want to reset stm32 chip and all settings? Please disconnect battery before erasing.",
|
||||
"Please disconnect from vehicle", JOptionPane.YES_NO_OPTION);
|
||||
if (dialogResult != JOptionPane.YES_OPTION)
|
||||
return;
|
||||
wnd.showFrame("rusEfi Firmware Flasher");
|
||||
|
|
|
@ -24,6 +24,12 @@ public class FirmwareFlasher extends ProcessStatusWindow {
|
|||
button.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
int dialogResult = JOptionPane.showConfirmDialog(button, "Do you really want to update firmware? Please disconnect battery before erasing.",
|
||||
"Please disconnect from vehicle", JOptionPane.YES_NO_OPTION);
|
||||
if (dialogResult != JOptionPane.YES_OPTION)
|
||||
return;
|
||||
|
||||
|
||||
wnd.showFrame("rusEfi Firmware Flasher");
|
||||
|
||||
Runnable runnable = new Runnable() {
|
||||
|
|
Loading…
Reference in New Issue