Skip to content

Custom window level not working (Development version) #10

@tsiligardi

Description

@tsiligardi

When selecting Custom on the window levels, the program does not crash, but it does not work. The following error is returned:

File "\fcn_display\win_level.py", line 125, in window_custom
Window, ok1 = QInputDialog.getInt(self, "Input Window", "Enter Window value:", min=0, max=1000000, step=1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: PySide6.QtWidgets.QInputDialog.getInt(): unsupported keyword 'min'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions