executeConfig: Open terminal if Shift pressed

Tento commit je obsažen v:
Albert S. 2020-10-10 22:19:58 +02:00
rodič bb74d156c9
revize b13815a924

Zobrazit soubor

@ -120,7 +120,7 @@ void Window::populateGrid(const QVector<EntryPushButton *> &list)
void Window::executeConfig(const EntryConfig &config)
{
if(config.isTerminalCommand)
if(config.isTerminalCommand || QApplication::keyboardModifiers().testFlag(Qt::ShiftModifier))
{
QString cmd = settingsProvider->getTerminalCommand();
cmd.replace("%c", config.command);