summaryrefslogtreecommitdiff
path: root/src/main/python/utils/dialogs.py
diff options
context:
space:
mode:
authorsumit2020-05-28 15:31:26 +0530
committersumit2020-05-28 15:31:26 +0530
commit6ef014e0aa5d320f2c392c5e784b4eeba373aebf (patch)
tree8ac6aa2448715216adcce11e0ed6ee219bdadd6a /src/main/python/utils/dialogs.py
parent70a89b9ddca1e0abc9f802b9cda1d483dd59a4e1 (diff)
parentac63205a7d02185f4a917db74bf0964691bf20ea (diff)
downloadChemical-PFD-6ef014e0aa5d320f2c392c5e784b4eeba373aebf.tar.gz
Chemical-PFD-6ef014e0aa5d320f2c392c5e784b4eeba373aebf.tar.bz2
Chemical-PFD-6ef014e0aa5d320f2c392c5e784b4eeba373aebf.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/main/python/utils/dialogs.py')
-rw-r--r--src/main/python/utils/dialogs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/python/utils/dialogs.py b/src/main/python/utils/dialogs.py
index 3791599..fa3b5f1 100644
--- a/src/main/python/utils/dialogs.py
+++ b/src/main/python/utils/dialogs.py
@@ -1,4 +1,4 @@
-from PyQt5.QtWidgets import QDialog, QPushButton, QFormLayout, QComboBox, QLabel, QMessageBox, QDialogButtonBox
+from PyQt5.QtWidgets import QDialog, QPushButton, QFormLayout, QComboBox, QLabel, QMessageBox, QDialogButtonBox, QHBoxLayout
from .data import sheetDimensionList, ppiList
class paperDims(QDialog):
@@ -104,7 +104,7 @@ def saveEvent(parent = None):
def showUndoDialog(undoView, parent):
dialogBox = QDialog(parent)
dialogBox.resize(400, 400)
- layout = QFormLayout(dialogBox)
+ layout = QHBoxLayout(dialogBox)
layout.addWidget(undoView)
dialogBox.setWindowTitle("Undo Stack")
dialogBox.show() \ No newline at end of file