From e807969aa34dadb069b94e456323456dcf3b3843 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 17 Nov 2013 23:42:02 +0000 Subject: Update map content when opening a file. --- src/editorwindow.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/editorwindow.cc b/src/editorwindow.cc index f08cc2c..29f2c1f 100644 --- a/src/editorwindow.cc +++ b/src/editorwindow.cc @@ -236,6 +236,9 @@ bool EditorWindow::loadFile(const QString &filename) QApplication::restoreOverrideCursor(); editorwindow_filename = filename; + + editorwindow_mapwidget->resizeChildren(); + editorwindow_mapwidget->update(); return true; } -- cgit v1.2.3