[Companion] Radio profile/current firmware handling: (#4737)
commit36bb9513147cd5e25427af5687057d9c79251455
authorMax Paperno <mpaperno@users.noreply.github.com>
Sun, 2 Apr 2017 10:17:06 +0000 (2 06:17 -0400)
committerBertrand Songis <bsongis@gmail.com>
Sun, 2 Apr 2017 10:17:06 +0000 (2 12:17 +0200)
tree1daa408dee5f3c35360c5a69c79de162211fd89b
parent8d0db05e78e266b363e4388730fd81b47e6e7e2b
[Companion] Radio profile/current firmware handling: (#4737)

* Fix possible confusion/data corruption when deleting radio profile (closes #4734, ref: #4686);
    * Add Delete Profile action to Radio Profiles menu (closes #4736) (but remove from from app prefs. panel);
    * Add confirmation prompt before deleting profile;
    * Open profile settings dialog when creating/copying a profile (closes #4735);
    * Make sure current (global) firmware flavor is properly updated when changing fw type/options in profile;
    * Append "-Copy" to name of copied profile;
    * Factor out Firmware global vars/functions in favor of static members.
companion/src/apppreferencesdialog.cpp
companion/src/apppreferencesdialog.h
companion/src/apppreferencesdialog.ui
companion/src/companion.cpp
companion/src/eeprominterface.cpp
companion/src/eeprominterface.h
companion/src/firmwares/opentx/opentxinterface.cpp
companion/src/fwpreferencesdialog.cpp
companion/src/mainwindow.cpp
companion/src/mainwindow.h
companion/src/simulator.cpp