diff --git a/nixview.py b/nixview.py index 6ecde7e..e1815b2 100755 --- a/nixview.py +++ b/nixview.py @@ -10,7 +10,10 @@ def main(): args = parser.parse_args() app = QApplication(sys.argv) window = NixView() - window.open_file(args.file) + window.setMinimumWidth(800) + window.setMinimumHeight(600) + if len(args.file.strip()) > 0: + window.open_file(args.file) window.show() sys.exit(app.exec_())