feat(cpn): Clear clipboard on profile change (#3929)
... preventing pasting incompatible models after profile change
This commit is contained in:
@@ -1250,6 +1250,7 @@ void MainWindow::onCurrentProfileChanged()
|
||||
{
|
||||
Firmware::setCurrentVariant(Firmware::getFirmwareForId(g.currentProfile().fwType()));
|
||||
emit firmwareChanged();
|
||||
QApplication::clipboard()->clear();
|
||||
updateMenus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user