Skip to content

Commit

Permalink
Adjust the size of ERT main window after displaying config warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj authored Nov 2, 2023
1 parent eae85d9 commit 4f2fdcc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/ert/gui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ def run_pressed():
ert_window.show()
ert_window.activateWindow()
ert_window.raise_()
ert_window.adjustSize()
container.close()

run = QPushButton("Open ERT")
Expand Down
1 change: 0 additions & 1 deletion src/ert/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def __init__(
self.notifier = ErtNotifier(config_file)
self.tools = {}

self.resize(300, 700)
self.setWindowTitle(f"ERT - {config_file}")

self.plugin_manager = plugin_manager
Expand Down

0 comments on commit 4f2fdcc

Please sign in to comment.