removed subprocess.check_call()

This way modal works better (in KDE the main window goes gray).
This commit is contained in:
donoban 2018-10-20 16:43:15 +02:00
parent 612cfc15d6
commit 76b6de9d00
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -48,6 +48,7 @@ from . import settings
from . import global_settings
from . import restore
from . import backup
from . import create_new_vm
from . import log_dialog
from . import utils as manager_utils
@ -713,7 +714,8 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
# noinspection PyArgumentList
@QtCore.pyqtSlot(name='on_action_createvm_triggered')
def action_createvm_triggered(self): # pylint: disable=no-self-use
subprocess.check_call('qubes-vm-create')
create_window = create_new_vm.NewVmDlg(self.qt_app, self.qubes_app)
create_window.exec_()
def get_selected_vm(self):
# vm selection relies on the VmInfo widget's value used