sources/Desktop/mainwindow.cpp
// SST (Single Step) needs some additional support to indicate the switch

SST (Single Step) needs some additional support to indicate the switch
SST ( Single Step ) needs some additional support to indicate the switch
void MainWindow::updateSSTButton()
{
    if( SSTmode == 0 ) {
        ui->pushButton_SST->setText( "SS&T\nis Off" );
    } else {
        ui->pushButton_SST->setText( "SS&T\nis On" );
    }
    ui->pushButton_SST->setShortcut( QKeySequence::fromString( "Shift+T" ) );
}
void MainWindow :: updateSSTButton ( ) { if ( SSTmode == 0 ) { ui -> pushButton_SST -> setText ( " \n " ) ; } else { ui -> pushButton_SST -> setText ( " \n " ) ; } ui -> pushButton_SST -> setShortcut ( QKeySequence :: fromString ( " " ) ) ; }
SST (Single Step) needs some additional support to indicate the switch
SST ( Single Step ) needs some additional support to indicate the switch
// for some reason, the above setText breaks the shortcut in the .ui
