feat(cpn): Clear clipboard on profile change (#3929)

... preventing pasting incompatible models after profile change
This commit is contained in:
Neil Horne
2023-08-14 12:40:38 +10:00
committed by GitHub
parent 58ee2f282d
commit 343ea0660f
+1
View File
@@ -1250,6 +1250,7 @@ void MainWindow::onCurrentProfileChanged()
{
Firmware::setCurrentVariant(Firmware::getFirmwareForId(g.currentProfile().fwType()));
emit firmwareChanged();
QApplication::clipboard()->clear();
updateMenus();
}