mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 00:44:16 +02:00
run button
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import os
|
||||
import subprocess
|
||||
from threading import Lock
|
||||
from typing import List
|
||||
|
||||
@@ -367,6 +368,13 @@ class AppsTable(QTableWidget):
|
||||
def _set_col_settings(self, idx: int, app_v: ApplicationView):
|
||||
tb = QToolBar()
|
||||
|
||||
if app_v.model.can_be_run() and app_v.model.get_command():
|
||||
|
||||
def run():
|
||||
self.window.run_app(app_v)
|
||||
|
||||
tb.addWidget(IconButton(icon_path=resource.get_path('img/app_play.png'), action=run, background='#088A08', tooltip=self.window.locale_keys['action.run.tooltip']))
|
||||
|
||||
if app_v.model.has_info():
|
||||
|
||||
def get_info():
|
||||
|
||||
Reference in New Issue
Block a user