wip/dynamics_buttons #26
@ -120,7 +120,7 @@ void Window::populateGrid(const QVector<EntryPushButton *> &list)
|
|||||||
|
|
||||||
void Window::executeConfig(const EntryConfig &config)
|
void Window::executeConfig(const EntryConfig &config)
|
||||||
{
|
{
|
||||||
if(config.isTerminalCommand)
|
if(config.isTerminalCommand || QApplication::keyboardModifiers().testFlag(Qt::ShiftModifier))
|
||||||
{
|
{
|
||||||
QString cmd = settingsProvider->getTerminalCommand();
|
QString cmd = settingsProvider->getTerminalCommand();
|
||||||
cmd.replace("%c", config.command);
|
cmd.replace("%c", config.command);
|
||||||
|
Loading…
Reference in New Issue
Block a user