Skip to content

Commit 4b2c207

Browse files
committed
Make one-time edit accessable
1 parent 7eead90 commit 4b2c207

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
- Preparations for one-time edits have begun.
9696
- One-time edit functions are prepared.
9797
- One-time edit is implemented.
98+
- One-time edit can be accessed.
9899

99100
## Known issues
100101

dialogExecution/startVMNew.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import locale
3131
import errors.errCodes
3232
from dialogExecution.errDialog import ErrDialog
33+
from dialogExecution.editVMNew import EditVMNewDialog
3334
import services.pathfinder as pf
3435
import errors.logman
3536
import services.vm_data as vmd
@@ -69,7 +70,12 @@ def __init__(self, vmdata, parent=None):
6970
self.connection = platformSpecific.unixSpecific.setupUnixBackend()
7071

7172
def connectSignalsSlots(self):
73+
self.btn_oneTimeEdit.clicked.connect(self.openOneTimeEdit)
7274
self.btn_startVM.clicked.connect(self.startVirtualMachine)
75+
76+
def openOneTimeEdit(self):
77+
dialog = EditVMNewDialog(self.vmdata, False, self)
78+
dialog.exec()
7379

7480
def startVirtualMachine(self):
7581
connection = self.connection

0 commit comments

Comments
 (0)