executeConfig: Open terminal if Shift pressed
This commit is contained in:
父節點
bb74d156c9
當前提交
b13815a924
@ -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);
|
||||
|
載入中…
新增問題並參考
Block a user