]> Softwares of Agnibho - medscript.git/commitdiff
Bugfix: crash on opening config and preset editors
authorAgnibho Mondal <mondal@agnibho.com>
Sat, 11 Nov 2023 11:14:37 +0000 (16:44 +0530)
committerAgnibho Mondal <mondal@agnibho.com>
Sat, 11 Nov 2023 11:14:37 +0000 (16:44 +0530)
window.py

index 6ea5cf15ccfe4db3a740abb94950cff4de9ed9ac..6747e589c4819ed8147995256277377bfe57193e 100644 (file)
--- a/window.py
+++ b/window.py
@@ -210,7 +210,7 @@ class MainWindow(QMainWindow):
         self.index.show()
 
     def cmd_configuration(self):
-        self.edit_configuration.exec()
+        self.editConfiguration.exec()
 
     def cmd_prescriber(self):
         try:
@@ -220,7 +220,7 @@ class MainWindow(QMainWindow):
             logging.warning(e)
 
     def cmd_preset(self):
-        self.edit_preset.show()
+        self.editPreset.show()
 
     def cmd_installer(self):
         self.installer.show()